Myth Posted July 13, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Share Posted July 13, 2013 a wishpering npc that warp a player example; npc:sample = warp 1 (prontera 150,50) npc:sample = warp 2 (prontera 541,50) npc:sample = warp 3 (payon 151,50) npc:sample = warp 4 (izlude 185,50) Quote Link to comment Share on other sites More sharing options...
xienne15 Posted July 13, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted July 13, 2013 - script Warper -1,{ OnWhisperGlobal: before the warper script. Quote Link to comment Share on other sites More sharing options...
Patskie Posted July 13, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share Posted July 13, 2013 - script sample -1,{ OnWhisperGlobal: if ( getgmlevel() ) end; else if ( @whispervar0$ == "warp" && @whispervar1$ == "1" ) warp "prontera",150,150; else if ( @whispervar0$ == "warp" && @whispervar1$ == "2" ) warp "prontera",541,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "3" ) warp "payon",151,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "4" ) warp "izlude",185,50; else end; } Quote Link to comment Share on other sites More sharing options...
Myth Posted July 17, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Author Share Posted July 17, 2013 - script sample -1,{ OnWhisperGlobal: if ( getgmlevel() ) end; else if ( @whispervar0$ == "warp" && @whispervar1$ == "1" ) warp "prontera",150,150; else if ( @whispervar0$ == "warp" && @whispervar1$ == "2" ) warp "prontera",541,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "3" ) warp "payon",151,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "4" ) warp "izlude",185,50; else end; } even player can use this? Quote Link to comment Share on other sites More sharing options...
Patskie Posted July 17, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share Posted July 17, 2013 - script sample -1,{ OnWhisperGlobal: if ( getgmlevel() ) end; else if ( @whispervar0$ == "warp" && @whispervar1$ == "1" ) warp "prontera",150,150; else if ( @whispervar0$ == "warp" && @whispervar1$ == "2" ) warp "prontera",541,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "3" ) warp "payon",151,50; else if ( @whispervar0$ == "warp" && @whispervar1$ == "4" ) warp "izlude",185,50; else end; } even player can use this? Normal players can use this. GM cannot Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 17, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted July 17, 2013 - script Sample -1,{ OnInit: set .gm_level,90; setarray .map$,"prontera","prontera","prontera"; setarray .map_x,150,150,150; setarray .map_y,150,150,150; end; OnWhisperGlobal: if( getgmlevel() >= .gm_level && @whispervar0$ == "warp" ){ set .@i,atoi( @whispervar1$ ); warp .map$[.@i],.map_x[.@i],.map_y[.@i]; } end; } Quote Link to comment Share on other sites More sharing options...
Question
Myth
a wishpering npc that warp a player
example;
npc:sample = warp 1 (prontera 150,50)
npc:sample = warp 2 (prontera 541,50)
npc:sample = warp 3 (payon 151,50)
npc:sample = warp 4 (izlude 185,50)
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.