HelloKekette Posted January 14, 2014 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
Capuche Posted January 26, 2014 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
Question
HelloKekette
Hello!
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.