HelloKekette Posted January 14, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 09/09/13 Last Seen: April 11, 2014 Share Posted January 14, 2014 Hello! I want a little help to make a NPC. This NPC appears at a fixed location in a totally random manner and is available randomly between 10 and 30 min. Thanks ! Quote Link to comment Share on other sites More sharing options...
HelloKekette Posted January 20, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 09/09/13 Last Seen: April 11, 2014 Author Share Posted January 20, 2014 Any idea ? Quote Link to comment Share on other sites More sharing options...
HelloKekette Posted January 26, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 09/09/13 Last Seen: April 11, 2014 Author Share Posted January 26, 2014 Bump Quote Link to comment Share on other sites More sharing options...
Capuche Posted January 26, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted January 26, 2014 prontera,150,150,5 script ojnoi 78,{ mes "hello"; close; OnInit: disablenpc strnpcinfo(3); end; OnMinute00: if ( .is_enabled ) end; .is_enabled = 1; sleep ( 1000 * rand(3600) );// random minute enablenpc strnpcinfo(3); sleep ( 1000 * 60 * rand( 10,30 ) );// 10-30 mins disablenpc strnpcinfo(3); .is_enabled = 0; end; } Quote Link to comment Share on other sites More sharing options...
Question
HelloKekette
Hello!
Link 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.