maynard Posted May 24, 2012 Posted May 24, 2012 Put chatbox above npc with timer that cools down,Npc will appear for 1 hour then after 1 hour it will disabled and you can see the cooldown timer if how many time left before it will appear again. OnClock0000: OnClock0600: OnClock1200: OnClock1800: announce "blah blah blah.",0; enablenpc "Lord High"; end; OnClock0100: OnClock0700: OnClock1300: OnClock1900: announce "Thats it I'm done.",0; disablenpc "Lord High"; end; Like this one Quote
maynard Posted May 24, 2012 Author Posted May 24, 2012 Sir no error in cmd, the npc appear and disappear but theres no chatroom or countdown. Quote
kadze Posted May 24, 2012 Posted May 24, 2012 (edited) sleep ( 60 * 000 ); change sleep ( 60 * 1000 ); http://upaste.me/1eaf4044c5a301e Edited May 24, 2012 by kadze 1 Quote
Question
maynard
Put chatbox above npc with timer that cools down,Npc will appear for 1 hour then after 1 hour it will disabled and you can see the cooldown timer if how many time left before it will appear again.
OnClock0000:
OnClock0600:
OnClock1200:
OnClock1800:
announce "blah blah blah.",0;
enablenpc "Lord High";
end;
OnClock0100:
OnClock0700:
OnClock1300:
OnClock1900:
announce "Thats it I'm done.",0;
disablenpc "Lord High";
end;
Like this one
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.