Talk with NPC

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
wiedzmin97
Posts: 44
Joined: Wed Jul 03, 2013 1:37 pm

Talk with NPC

#1 Post by wiedzmin97 »

Hi, i have small question. Is it possible to do script with talking with NPC but...
i created something that:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- #  1 --><waypoint x="-2671" z="-4192" y="246">   
player:target_NPC(117388);
      if player:haveTarget() then
         Attack()
end
</waypoint>
</waypoints>

but... i want that my character did not move when he target a npc and that the action is repeated indefinitely. Unfortunately with that my char looks on left and right etc. :P
This is very important for me.
Thanks in advance :)
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Talk with NPC

#2 Post by kuripot »

use ordinary command

Code: Select all

		SlashCommand("sit")
		player:target_NPC(110532); -- Maya
		sendMacro("ChoiceOption(4);");
		yrest(1000)
put sit command so you dont look a suspicious
wiedzmin97
Posts: 44
Joined: Wed Jul 03, 2013 1:37 pm

Re: Talk with NPC

#3 Post by wiedzmin97 »

thank you veru much :))
Post Reply