How to stop waypoints
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
How to stop waypoints
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.
Re: How to stop waypoints
what do you exactly mean with "stop waypoints" ?
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
Re: How to stop waypoints
how to make stand
If you think something is right just because everyone else believes,you're not thinking.
- 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
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.
But if you want to program a conditional stop into the waypoint, then there are ways to do that as well.
Re: How to stop waypoints
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.
player:rest(x) (x = time in seconds) will make your character stand for x seconds.
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
Re: How to stop waypoints
I have ... I have a function that ...
Script:
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
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
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>
If you think something is right just because everyone else believes,you're not thinking.
- 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
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)
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 174 guests