Summoning or calling party members to party leader's location.

deviruzy

New member
Messages
67
Points
0
 Hello.

 I am making a very simple party helping NPC and I was wondering if it's possible to summon partymembers. this is what I made so far:

party warp

 //getpartymember(getcharid(1));
 if (getpartyleader(getcharid(1),2) != getcharid(0) ) {
 mes "Only party leader can use this service.";
 close;
 }
 warpparty "payon",158,225,getcharid(1);
 close;
summoning / calling party members.

 if (getpartyleader(getcharid(1),2) != getcharid(0) ) {
 mes "Only party leaders can use this service.";
 close;
 }

 callparty getcharid(1);

 close;
 I am a newb so I could not find what to put on the red spot to summon party members to the location of party leader.

I used to have a NPC that can do that 6 years ago but I just couldn't remember or find it in eathena, rathena, or wikis.

Would you be kind enough to teach me please?

Thank you.

 
Last edited by a moderator:

wow this is a great script. Thank you AnnieRuru.

 
 if(getpartyleader(getcharid(1),2) == getcharid(0)) {
getmapxy .@mapl$, .@xl, .@yl, 0;
warpparty .@mapl$, .@xl, .@yl, getcharid(1), .@mapl$;
}
 
I believe it's this part but I think I'm going to go with this one for this very NPC of mine.

 atcommand "@partyrecall "+strcharinfo(1);
I learned it form rAthena Board. Still, Thank you so much AnnieRuru. I'll keep this script in mind. I'm sure I'll be needing it later.

 
Back
Top