Page 1 of 1

Question how to add a Pause / Rest script in a waypoint

Posted: Tue Jun 19, 2012 9:11 am
by AngelDrago
how can i add an rest or pause function in a waypoint like this one for example....

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="NORMAL">
<onload>
startGMDetect()
</onload>
   	<!-- #  1 --><waypoint x="6309" z="4955" y="168">	</waypoint>
	<!-- #  2 --><waypoint x="6348" z="4852" y="168">	</waypoint>
	<!-- #  3 --><waypoint x="6331" z="4781" y="168">		player:target_Object("Inferno Guard Dog");
thx for the help

Re: Question how to add a Pause / Rest script in a waypoint

Posted: Tue Jun 19, 2012 10:31 am
by Edamh
rest for 10-30 seconds until full

Code: Select all

player:rest(10, 30, "full");

pause for 3000 millisec == 3 sec

Code: Select all

yrest(3000)

Re: Question how to add a Pause / Rest script in a waypoint

Posted: Tue Jun 19, 2012 10:37 am
by AngelDrago
thank you very much for the help

Re: Question how to add a Pause / Rest script in a waypoint

Posted: Sat Jun 23, 2012 6:48 am
by dap

Code: Select all

player:sleep();
pause until press 'delete' key