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

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

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

#1 Post by AngelDrago » Tue Jun 19, 2012 9:11 am

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

User avatar
Edamh
Posts: 106
Joined: Tue May 24, 2011 11:56 pm

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

#2 Post by Edamh » Tue Jun 19, 2012 10:31 am

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)

AngelDrago
Posts: 133
Joined: Fri May 06, 2011 10:39 am

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

#3 Post by AngelDrago » Tue Jun 19, 2012 10:37 am

thank you very much for the help

User avatar
dap
Posts: 23
Joined: Thu Aug 11, 2011 1:44 am

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

#4 Post by dap » Sat Jun 23, 2012 6:48 am

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 5 guests