Hi there, I have this heavily modified PVP warper script which I added a Party vs Party feature. But I need help to only warp party members if they are on town map. Here's the party warp script:
if (is_party_leader() == true) {
if(getpartyleader(getcharid(1),2) == getcharid(0)) {
getpartymember getcharid(1), 1;
getpartymember getcharid(1), 2;
for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
attachrid $@partymemberaid[.@i];
.@party_id = getcharid(1);
warp "pvp_y_1-2",0,0;
warpparty "Leader",0,0,.@party_id;
}
}
}
}// If leader close
Can someone help me add a restriction to only warp members that are in town map.
Question
Yami
Hi there, I have this heavily modified PVP warper script which I added a Party vs Party feature. But I need help to only warp party members if they are on town map. Here's the party warp script:
if (is_party_leader() == true) { if(getpartyleader(getcharid(1),2) == getcharid(0)) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; .@party_id = getcharid(1); warp "pvp_y_1-2",0,0; warpparty "Leader",0,0,.@party_id; } } } }// If leader close
Can someone help me add a restriction to only warp members that are in town map.
Link to comment
Share on other sites
6 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.