Jump to content
  • 0

Summoning or calling party members to party leader's location


seveneyed

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  02/02/14
  • Last Seen:  

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

 

Quote

 

//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.

Quote

 

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.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Why arent you using the 1st code?

 

 

Try adding this one?

atcommand "@partyrecall "+strcharinfo(1);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


prontera,150,150,0 script Summoner 100,{

if ( getpartyleader( getcharid( 1 ), 2 ) != getcharid( 0 ) ) end;

getmapxy( .@map$, .@x, .@y, 0 );

warpparty .@map$, .@x, .@y, getcharid( 1 );

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  02/02/14
  • Last Seen:  

 

Why arent you using the 1st code?

 

 

Try adding this one?

atcommand "@partyrecall "+strcharinfo(1);

 

 Yes, It was this one! Thank  you so much sandbox.

 

 

Patskie, Thank you too. I'll keep it in mind in case I might need it somewhere else. Thank you.

Edited by seveneyed
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

You're welcome :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...