crazyarashi Posted July 26, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 763 Reputation: 227 Joined: 02/11/17 Last Seen: September 21, 2023 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...
2 sader1992 Posted July 26, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.02 Content Count: 1678 Reputation: 703 Joined: 12/21/14 Last Seen: 11 hours ago 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; } } 1 Quote Link to comment Share on other sites More sharing options...
1 Z3R0 Posted July 26, 2017 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 615 Reputation: 201 Joined: 11/09/11 Last Seen: September 29, 2023 Share Posted July 26, 2017 Setarray (.@maps $, "prontera", "morrocc"); Setarray (.@x,158,0); Setarray (.@y, 173,0); .@index = rand (0, getarraysize (.@maps $ -1); Warp .@maps $[.@index], .@x [.@index], .@y [.@index]; Quote Link to comment Share on other sites More sharing options...
Question
crazyarashi
Is it possible in rAthena to make a warp portal randomly warp you in 5 different places
Link to comment
Share on other sites
2 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.