nobukadnezar Posted January 24, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Share Posted January 24, 2012 Hello. Anyone could make script foor warper to party leader? But it strict to certain maps, such as castle or PVP map. Any help would be appreciate. Thanks~ anyone? Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 26, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 26, 2012 try this prontera,155,181,5 script Sample 757,{ if( !getcharid(1) || getpartyleader( getcharid(1),2 ) == getcharid(0) ) { mes "^FF0000Failed^000000.Perhaps you are not in a Party or your are the Leader."; }else if( !isloggedin( getpartyleader( getcharid(1),1 ) )){ mes "Your Party Leader is Offline."; }else{ mes "Warp to Leader Location ?"; if( select("Yes","No") == 2 ) close; set .@CID,getcharid(0); attachrid( getpartyleader( getcharid(1),1 ) ); getmapxy .@MAP$,.@X,.@Y,0; warpchar .@MAP$,.@X,.@Y,.@CID; end; } close; } 1 Quote Link to comment Share on other sites More sharing options...
XkAcY- Posted January 24, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 0 Joined: 11/13/11 Last Seen: April 5, 2017 Share Posted January 24, 2012 please give some details Quote Link to comment Share on other sites More sharing options...
nobukadnezar Posted January 24, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Author Share Posted January 24, 2012 It's warper to party leader (if we have a party). The current warper warps to "last warp, fields, dungeons, etc.... and we add "Party Warp" With this warper, we could warp to party leader which benefit us while questing or hunting. I once played in some ps which have this kind of warper. Quote Link to comment Share on other sites More sharing options...
nobukadnezar Posted January 28, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 163 Reputation: 7 Joined: 01/07/12 Last Seen: March 7, 2017 Author Share Posted January 28, 2012 (edited) thank you Emistry, i just code by myself but it only warps to sama map with random coords because i use only getpartyleader commands. So there was known code getmapxy for knowing the leader coordinates. This just what i searched for. For prevention, how about denying warp if party leader was in dead state? because it will be too easy for players if the leader was novice, and use play dead at endless tower ==" Edited January 28, 2012 by nobukadnezar Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 28, 2012 try this change getmapxy .@MAP$,.@X,.@Y,0; into this if( HP ) getmapxy .@MAP$,.@X,.@Y,0; Quote Link to comment Share on other sites More sharing options...
Question
nobukadnezar
Hello.
Anyone could make script foor warper to party leader? But it strict to certain maps, such as castle or PVP map. Any help would be appreciate.
Thanks~
anyone?
Link to comment
Share on other sites
5 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.