so i create a script for a map that can be accessed only for the guild who conquers specific castle
i actually did it however i tried to like
1. when agit/woe starts the NPC will tell you that the "Woe is currently active you can't enter now"
what is actually happen is the NPC is just unclickable or no response
2. when woe/agit starts all of the guildmembers will be warped to save point
what is actually happens is the characters still stay inside the map
here is the script
if(!agitcheck()&&!agitcheck2()&&!agitcheck3()){// Check for agit active
mes "Woe is currently active can't enter right now";// NPC message when woe is active
mapwarp .map$,"prontera",149,138;// Map of the savepoint.@gid=GetCastleData("prtg_cas01",1);// Castle Map Name and castle dataif(getcharid(2)==.@gid){
mes "You will be warped to Lost Midgard";
next;
warp "goldroom.gat",0,0;
dispbottom "[Guild Message]: Welcome to Lost Midgard";}else{
mes "[Lost Midgard Guardian]";
mes "Your Guild did not conquer Krimhild Castle";
dispbottom "[Guild Message]: Only Guild who owns Kriemhild can enter here!";}}
end;}
thanks in advance
i know that there are some codes missing however i just dunno what is it
thanks again
EDIT:
i tried this one it has no errors but players inside the map are no being kicked or warped out
if(!agitcheck()&&!agitcheck2()&&!agitcheck3()){// Check for agit active
mes "Woe is currently active can't enter right now";// NPC message when woe is active
atcommand "@kickall";// Map of the savepoint.@gid=GetCastleData("prtg_cas01",1);// Castle Map Name and castle dataif(getcharid(2)==.@gid){
mes "You will be warped to Lost Midgard";
next;
warp "goldroom.gat",0,0;
dispbottom "[Guild Message]: Welcome to Lost Midgard";}else{
mes "[Lost Midgard Guardian]";
mes "Your Guild did not conquer Krimhild Castle";
dispbottom "[Guild Message]: Only Guild who owns Kriemhild can enter here!";}}
end;}
Question
AinsLord
so i create a script for a map that can be accessed only for the guild who conquers specific castle
i actually did it however i tried to like
1. when agit/woe starts the NPC will tell you that the "Woe is currently active you can't enter now"
what is actually happen is the NPC is just unclickable or no response
2. when woe/agit starts all of the guildmembers will be warped to save point
what is actually happens is the characters still stay inside the map
here is the script
thanks in advance
i know that there are some codes missing however i just dunno what is it
thanks again
EDIT:
i tried this one it has no errors but players inside the map are no being kicked or warped out
thanks again
Edited by AinsLordmore info
Link to comment
Share on other sites
22 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.