Yuka Posted March 6, 2014 Posted March 6, 2014 Hi, did I got it right that an NPC can only hold 1 Timer at a time? I want my NPC to do warp portals every 20 seconds and do a npc talk every 60 seconds. Is that possible? I've tried it like this: OnTimer60000: dosth sleep 20000 dosth sleep 20000 dosth But somehow it skips the timer every second time, thus it does that and then it rests for a minute. :/ Quote
Yuka Posted March 6, 2014 Author Posted March 6, 2014 I meant the full details on what you want to happen with the script, not the codes, i'm bad at editing codes if i'm not the author. Try putting an 'end;' before the OnTimer anyways Oh sorry, well it should open a Warp to Kriemhild every 20second and should npctalk "Woe is on" every 60seconds Quote
sandbox Posted March 6, 2014 Posted March 6, 2014 What's the whole description of your script? I'll try to write one for you Quote
Yuka Posted March 6, 2014 Author Posted March 6, 2014 What's the whole description of your script? I'll try to write one for you http://pastebin.com/YYrcPx65 Quote
sandbox Posted March 6, 2014 Posted March 6, 2014 I meant the full details on what you want to happen with the script, not the codes, i'm bad at editing codes if i'm not the author. Try putting an 'end;' before the OnTimer anyways Quote
sandbox Posted March 7, 2014 Posted March 7, 2014 aethra,144,120,3 script WoE Warper 437,{ end; OnAgitStart: do { npctalk "WoE is ON"; warpportal 141,117,"prt_gld",137,64; sleep 20000; warpportal 141,117,"prt_gld",137,64; sleep 20000; warpportal 141,117,"prt_gld",137,64; sleep 20000; warpportal 141,117,"prt_gld",137,64; } while(agitcheck()); end; } Kindly test Quote
Question
Yuka
Hi,
did I got it right that an NPC can only hold 1 Timer at a time?
I want my NPC to do warp portals every 20 seconds and do a npc talk every 60 seconds. Is that possible?
I've tried it like this:
OnTimer60000:
dosth
sleep 20000
dosth
sleep 20000
dosth
But somehow it skips the timer every second time, thus it does that and then it rests for a minute. :/
5 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.