Hello everyone! I apologize if this is not the correct section! but I thought that here it would be better to put my subject. I have a problem with a warper of a script... it happens that I have a script that reaches a point warp a party, so far all right, the problem is that I can not do so that the script only warp the members of the party that are on the map and not in another.
Example:
group A and group B belong to the same party. Group A is in X map and group B in prontera, when the warp point arrives group B jumps towards group A. That's what I want to avoid! > - < if group B is not on the group A map that does not warpee where they... I hope you understand...
Question
xSoul
Hello everyone! I apologize if this is not the correct section! but I thought that here it would be better to put my subject. I have a problem with a warper of a script... it happens that I have a script that reaches a point warp a party, so far all right, the problem is that I can not do so that the script only warp the members of the party that are on the map and not in another.
Example:
group A and group B belong to the same party. Group A is in X map and group B in prontera, when the warp point arrives group B jumps towards group A. That's what I want to avoid! > - < if group B is not on the group A map that does not warpee where they... I hope you understand...
Here I leave the reference!
getpartymember getcharid(1),0;
set .@memberCount, $@partymembercount;
copyarray .@members[0], $@partymemberaid[0], .@memberCount;
for(set .@i,0; .@i<.@memberCount; set .@i,.@i+1)
{
if(attachrid(.@members[.@i]) == 1)
{
warp .@map$, 24, 119;
}
}
Link to comment
Share on other sites
7 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.