RAWRs Posted January 18, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 76 Reputation: 1 Joined: 11/17/11 Last Seen: April 19, 2013 Share Posted January 18, 2013 There is any party recall script? I want us it on item.If we click the item,it will warp all party members near the leader,and only can be use by leader. Quote Link to comment Share on other sites More sharing options...
Capuche Posted January 19, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted January 19, 2013 There is any party recall script? I want us it on item.If we click the item,it will warp all party members near the leader,and only can be use by leader. Sorry I misread your post 12212,Giant_Fly_Wing,Giant Fly Wing,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_CashPartyCall"; },{},{} is like a fly wing but warp all member in party and you ask a script that do something like partyrecall... Here for you function script F_PartyReCall { if(getpartyleader(getcharid(1),2) == getcharid(0)) { set .@leader, getcharid(3); getmapxy .@mapl$, .@xl, .@yl, 0; getpartymember getcharid(1),2; set .@partymembercount, $@partymembercount; copyarray .@partymemberaid[0], $@partymemberaid[0], .@partymembercount; for(set .@i, 0; .@i < .@partymembercount; set .@i, .@i + 1) { if(attachrid(.@partymemberaid[.@i])) { if(HP > 0 && getcharid(3) != .@leader) { warp .@mapl$, .@xl, .@yl; } } } } return; } Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted April 30, 2018 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 13 hours ago Share Posted April 30, 2018 On 1/19/2013 at 7:08 AM, Capuche said: Sorry I misread your post 12212,Giant_Fly_Wing,Giant Fly Wing,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_CashPartyCall"; },{},{} is like a fly wing but warp all member in party and you ask a script that do something like partyrecall... Here for you function script F_PartyReCall { if(getpartyleader(getcharid(1),2) == getcharid(0)) { set .@leader, getcharid(3); getmapxy .@mapl$, .@xl, .@yl, 0; getpartymember getcharid(1),2; set .@partymembercount, $@partymembercount; copyarray .@partymemberaid[0], $@partymemberaid[0], .@partymembercount; for(set .@i, 0; .@i < .@partymembercount; set .@i, .@i + 1) { if(attachrid(.@partymemberaid[.@i])) { if(HP > 0 && getcharid(3) != .@leader) { warp .@mapl$, .@xl, .@yl; } } } } return; } @Capuche hi i found bug When one char in the party login with another char. and the char is not included in the party, remain teleport, but char is not in 1 party only 1 account how to fix it? Quote Link to comment Share on other sites More sharing options...
0 Capuche Posted April 30, 2018 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted April 30, 2018 function script F_PartyReCall { if (getcharid(1) > 0 && getpartyleader(getcharid(1),2) == getcharid(0)) warpparty "Leader",0,0,getcharid(1),strcharinfo(3),2,2; return; } Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted April 30, 2018 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 13 hours ago Share Posted April 30, 2018 1 hour ago, Capuche said: function script F_PartyReCall { if (getcharid(1) > 0 && getpartyleader(getcharid(1),2) == getcharid(0)) warpparty "Leader",0,0,getcharid(1),strcharinfo(3),2,2; return; } i try this but not working and i try to solve by myself its working but i dont know is the right way or not haha function script F_PartyReCall { if(getpartyleader(getcharid(1),2) == getcharid(0)) { set .@leader, getcharid(3); getmapxy .@mapl$, .@xl, .@yl, 0; getpartymember getcharid(1),2; set .@partymembercount, $@partymembercount; copyarray .@partymemberaid[0], $@partymemberaid[0], .@partymembercount; for(set .@i, 0; .@i < .@partymembercount; set .@i, .@i + 1) { if(attachrid(.@partymemberaid[.@i])) { if(HP > 0 && getcharid(3) != .@leader) { warpparty "izlude_a", .@xl, .@yl,getcharid(1), strcharinfo(3), 3, 3; } } } } return; } thx u for your help Quote Link to comment Share on other sites More sharing options...
Capuche Posted January 18, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted January 18, 2013 An item with this option already exist 12212,Giant_Fly_Wing,Giant Fly Wing,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_CashPartyCall"; },{},{} Quote Link to comment Share on other sites More sharing options...
RAWRs Posted January 18, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 76 Reputation: 1 Joined: 11/17/11 Last Seen: April 19, 2013 Author Share Posted January 18, 2013 (edited) Thank you,never notice about this. Edited January 18, 2013 by RAWRs Quote Link to comment Share on other sites More sharing options...
RAWRs Posted January 19, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 76 Reputation: 1 Joined: 11/17/11 Last Seen: April 19, 2013 Author Share Posted January 19, 2013 Then i should change to this? 12212,Giant_Fly_Wing,Giant Fly Wing,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_PartyReCall"; },{},{} Quote Link to comment Share on other sites More sharing options...
Capuche Posted January 19, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted January 19, 2013 Then i should change to this? 12212,Giant_Fly_Wing,Giant Fly Wing,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_PartyReCall"; },{},{} Yes ! Also you can put callfunc "F_PartyReCall"; on another item script Quote Link to comment Share on other sites More sharing options...
RAWRs Posted January 19, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 76 Reputation: 1 Joined: 11/17/11 Last Seen: April 19, 2013 Author Share Posted January 19, 2013 Thank you again. Quote Link to comment Share on other sites More sharing options...
Question
RAWRs
There is any party recall script? I want us it on item.If we click the item,it will warp all party members near the leader,and only can be use by leader.
Link to comment
Share on other sites
9 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.