Nokia Posted May 21, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Share Posted May 21, 2012 How can i add an delay for NPCs? Example the warper, i want to add an delay for 1 minute, the player cant warp again till the 1 minute is gone. would be nice if its playerbased and not an delay for the whole npc. Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted May 21, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted May 21, 2012 (edited) if(gettimetick(2)-lastwarptime < 60){ mes "please wait 1 minute"; close; } set lastwarptime,gettimetick(2); Edited May 21, 2012 by QQfoolsorellina Quote Link to comment Share on other sites More sharing options...
Question
Nokia
How can i add an delay for NPCs? Example the warper, i want to add an delay for 1 minute, the player cant warp again till the 1 minute is gone. would be nice if its playerbased and not an delay for the whole npc.
Link to comment
Share on other sites
1 answer 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.