jadedlight Posted October 9, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 0 Joined: 08/14/15 Last Seen: November 10, 2017 Share Posted October 9, 2015 prontera,117,165,5 script thanatos 757,{ mes "Summon Thanatos ?"; mes " "; mes "You need:"; for ( .@i = 0; .@i < .required_item_size; .@i++ ) { mes " > "+getitemname( .required_item[.@i] ); if ( !countitem( .required_item[.@i] ) ) .@fail++; } if ( select( "Take it","Cancel" ) == 1 ) { if ( getmapusers( .map$ ) ) { mes "Someone already inside it."; } else if ( !.@fail ) { for ( .@i = 0; .@i < .required_item_size; .@i++ ) delitem .required_item[.@i],1; warp .map$,0,0; killmonsterall .map$; } else { mes "You didnt meet the requirement."; } } close; OnInit: .map$ = "thana_boss"; setarray .required_item, 7436, 7437, 7438, 7439; .required_item_size = getarraysize( .required_item ); getmapxy( .@npc_map$,.@npc_x,.@npc_y,1 ); setmapflagnosave( .map$,.@npc_map$,.@npc_x,.@npc_y ); end; OnClock0000: OnClock0300: OnClock0600: announce "Thanatos NPC has spawn",bc_all,0xFFFF00; disablenpc strnpcinfo(0); end; } problem is that it take 2 people in not 1 wanted to hide the npc when 1 person goes in and show up after 2 hours Quote Link to comment Share on other sites More sharing options...
Question
jadedlight
problem is that it take 2 people in not 1
wanted to hide the npc when 1 person goes in and show up after 2 hours
Link to comment
Share on other sites
0 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.