Get player position in OnLoad
Posted: Wed Sep 25, 2013 12:02 pm
Have tried searching around for anything related to it but unsuccessful so far...
Basically just want to load the player position within the onload of a waypoint rather than using Get_Player_Position.bat manually and put the values into playerX-playerY-playerZ which would then go into the waypoint.
example:
Would make it far easier to move around to a different location when farming cards etc.
Any info would be great...and sorry if its obvious in another thread..havnt been able to find anything ^.^
Basically just want to load the player position within the onload of a waypoint rather than using Get_Player_Position.bat manually and put the values into playerX-playerY-playerZ which would then go into the waypoint.
example:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<OnLoad>
Get position (playerX playerY playerZ)
</OnLoad>
<!-- # 1 --><waypoint x="playerX" z="playerZ" y="playerY">
repeat
yrest(1)
player:update()
until player.Battling or player:findEnemy(nil,nil,evalTargetDefault)
</waypoint>
</waypoints>Any info would be great...and sorry if its obvious in another thread..havnt been able to find anything ^.^