Hey everyone, I am trying to add an instance to my bossnia NPC. But I haven't had experiences in creating instances yet.
Instead of just sending the players to the bossnia maps, the NPC will create an instance/timer and send the players to the map. When the time runs out (30 minutes) the party members will automatically get kicked out from the map. (I will be impossible to leave party and to enter without one).
I have been searching the forums for some ideas and came up with this
prontera,154,187,5 script test5 100,{
mes "would you like to enter Room 1 ?";
next;if( select ("Yes","No")==2){
mes "good bye then";
close;}if( getmapusers("guild_vs2")){
mes "sorry, a player is in the room";
close;}
warpparty "guild_vs2",0,0,getcharid(1);
deltimer strnpcinfo(0)+"::OnKick";
addtimer 10000, strnpcinfo(0)+"::OnKick";// 10 seconds warp out@timeused= gettimetick(2);
end;OnKick:if( getmapusers("guild_vs2")){
warpparty "SavePoint",0,0,getcharid(1);
end;}}
This method works, but I would like it to be more user friendly and give the players a real-time timer of how long they have left in the map.
Also, is there a way to announce for messages only for party members?
Question
Profile
Hey everyone, I am trying to add an instance to my bossnia NPC. But I haven't had experiences in creating instances yet.
Instead of just sending the players to the bossnia maps, the NPC will create an instance/timer and send the players to the map. When the time runs out (30 minutes) the party members will automatically get kicked out from the map. (I will be impossible to leave party and to enter without one).
I have been searching the forums for some ideas and came up with this
This method works, but I would like it to be more user friendly and give the players a real-time timer of how long they have left in the map.
Also, is there a way to announce for messages only for party members?
Any suggestions?
Thank you!
Link to comment
Share on other sites
4 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.