Page 1 of 1

Talk with NPC

Posted: Tue Dec 24, 2013 4:58 am
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 :)

Re: Talk with NPC

Posted: Tue Dec 24, 2013 5:27 am
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

Re: Talk with NPC

Posted: Tue Dec 24, 2013 5:35 am
by wiedzmin97
thank you veru much :))