crazyarashi Posted July 26, 2017 Share Posted July 26, 2017 Is it possible in rAthena to make a warp portal randomly warp you in 5 different places Quote Link to comment Share on other sites More sharing options...
1 sader1992 Posted July 26, 2017 Share Posted July 26, 2017 prontera,155,174,4 script script_name 45,2,2,{ switch(rand(5)) { case 0: warp "prontera",50,10; end; case 1: warp "prontera",40,20; end; case 2: warp "prontera",30,30; end; case 3: warp "prontera",20,40; end; case 4: warp "prontera",10,50; end; } } Quote Link to comment Share on other sites More sharing options...
1 Z3R0 Posted July 26, 2017 Share Posted July 26, 2017 Setarray ([email protected] $, "prontera", "morrocc"); Setarray ([email protected],158,0); Setarray ([email protected], 173,0); [email protected] = rand (0, getarraysize ([email protected] $ -1); Warp [email protected] $[[email protected]], [email protected] [[email protected]], [email protected] [[email protected]]; Quote Link to comment Share on other sites More sharing options...
Is it possible in rAthena to make a warp portal randomly warp you in 5 different places
Link to comment
Share on other sites