How to stop waypoints

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

How to stop waypoints

#1 Post by Lamkefyned » Mon Nov 10, 2014 2:17 pm

Hi, I have registered a function in a script runs ... but when the instance goes out walking ... .. I can stop as waypoints so you do not walk out ..?
If you think something is right just because everyone else believes,you're not thinking.

Froote
Posts: 17
Joined: Sun Aug 24, 2014 5:53 am

Re: How to stop waypoints

#2 Post by Froote » Fri Nov 14, 2014 10:39 am

what do you exactly mean with "stop waypoints" ?

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: How to stop waypoints

#3 Post by Lamkefyned » Thu Nov 20, 2014 5:26 pm

how to make stand
If you think something is right just because everyone else believes,you're not thinking.

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: How to stop waypoints

#4 Post by Bill D Cat » Sat Nov 22, 2014 5:45 pm

You can manually pause with the END key, or abort it all with CTRL-L.

But if you want to program a conditional stop into the waypoint, then there are ways to do that as well.

Froote
Posts: 17
Joined: Sun Aug 24, 2014 5:53 am

Re: How to stop waypoints

#5 Post by Froote » Mon Nov 24, 2014 2:12 am

player:sleep() will make your character stand until you press DEL key
player:rest(x) (x = time in seconds) will make your character stand for x seconds.

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: How to stop waypoints

#6 Post by Lamkefyned » Tue Nov 25, 2014 5:05 pm

I have ... I have a function that ...

Code: Select all

		-- Check Bag Background Function
		function RT()
			unregisterTimer("RT")

			local function _RT()
				_count(5)
				sendMacro("DEFAULT_CHAT_FRAME:AddMessage('|cffffff00Check Bag {"..Count.."}|r')")
				if inventory:itemTotalCount(0) == 0 then
					unregisterTimer("RT")
					I()
					WT()
				end
			end

			registerTimer("RT", secondsToTimer(5), _RT);
			yrest(1000)
			_RT()
		end
Script:

Code: Select all

<!-- Sell -->
	<!-- # 83 --><waypoint x="-15149" z="11542" y="156" tag="Sell"> WT() </waypoint>
	<!-- # 84 --><waypoint x="-15200" z="11500" y="156"> player:mount(); </waypoint>
	<!-- # 85 --><waypoint x="-15571" z="11453" y="137"> 	</waypoint>
	<!-- # 86 --><waypoint x="-15783" z="11351" y="125">	 </waypoint>
	<!-- # 87 --><waypoint x="-16207" z="11119" y="120">	 </waypoint>
	<!-- # 88 --><waypoint x="-16397" z="11217" y="143"> 	</waypoint>
	<!-- # 89 --><waypoint x="-16596" z="11361" y="154"> player:merchant(Merchant); </waypoint>
	<!-- # 90--><waypoint x="-16843" z="11364" y="150"> 	</waypoint>
	<!-- # 91 --><waypoint x="-17055" z="11409" y="149"> 	</waypoint>
	<!-- # 92 --><waypoint x="-17146" z="11301" y="170">	 </waypoint>
	<!-- # 93 --><waypoint x="-17349" z="11051" y="78">		</waypoint>
	<!-- # 94 --><waypoint x="-17513" z="10820" y="76">		</waypoint>
	<!-- # 95 --><waypoint x="-17850" z="10557" y="-744"> 	</waypoint>
	<!-- # 96 --><waypoint x="-18147" z="10720" y="-744"> 	</waypoint>
	<!-- # 97 --><waypoint x="-18258" z="10965" y="-744"> 	</waypoint>
	<!-- # 98 --><waypoint x="-18320" z="11231" y="-743"> 	</waypoint>
	<!-- # 99 --><waypoint x="-18388" z="11517" y="-744"> 	</waypoint>
	<!-- #100 --><waypoint x="-18454" z="11908" y="-742">	 </waypoint>
	<!-- #101 --><waypoint x="-18515" z="12326" y="-742"> I() </waypoint>
	<!-- #102 --><waypoint x="-18537" z="12477" y="-743"> </waypoint>
	<!-- #103 --><waypoint x="-18539" z="12490" y="-743">  </waypoint>
	<!-- #104 --><waypoint x="-18541" z="12503" y="-743"> waitForLoadingScreen(10); </waypoint>
but when you have to leave the resort continues to walk out because it continues after waypoints ... I need to stop them and demomento nothing worth me ... or at least not encounter ... Please help
If you think something is right just because everyone else believes,you're not thinking.

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: How to stop waypoints

#7 Post by Bill D Cat » Tue Nov 25, 2014 5:33 pm

Almost sounds like you want to use a command to end the script completely. Maybe something like...

Code: Select all

error("Finished with script",0)

Post Reply

Who is online

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