I just notice this and all scripts using sleep2 got error..
And mining script I use also not working properly and got too many debug message..
How can I fix this?
In script_commands.txt
*sleep {<milliseconds>};
*sleep2 {<milliseconds>};
*awake "<NPCname>";
These commands are used to control the pause of a NPC.
sleep and sleep2 will pause the script for the given amount of milliseconds.
Awake is used to cancel a sleep. When awake is called on a NPC it will run as
if the sleep timer ran out, and thus making the script continue. Sleep and sleep2
basically do the same, but the main difference is that sleep will not keep the rid,
while sleep2 does. Also sleep2 will stop the script if there is no unit attached.
Examples:
sleep 10000; //pause the script for 10 seconds and ditch the RID (so no player is attached anymore)
sleep2 5000; //pause the script for 5 seconds, and continue with the RID attached.
awake "NPC"; //Cancels any running sleep timers on the NPC 'NPC'.
Question
rakuzas
Hello,
I just notice this and all scripts using sleep2 got error..
And mining script I use also not working properly and got too many debug message..
How can I fix this?
In script_commands.txt
EDIT : SOLVED!
Edited by rakuzasLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.