Yuka Posted March 6, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Share 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 Link to comment Share on other sites More sharing options...
Yuka Posted March 6, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
sandbox Posted March 6, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Yesterday at 09:36 AM Share Posted March 6, 2014 What's the whole description of your script? I'll try to write one for you Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 6, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
sandbox Posted March 6, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Yesterday at 09:36 AM Share 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 Link to comment Share on other sites More sharing options...
sandbox Posted March 7, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Yesterday at 09:36 AM Share 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 Link to comment Share on other sites More sharing options...
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. :/
Link to comment
Share on other sites
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.