[request] Teleport to xy position from the map.

+
[request] Teleport to xy position from the map.

Can't do this myself at the moment and haven't seen this implemented anywhere.

Is it possible to read the pos marker ingame and add a hotkey so one can FT to that position via 'xy(posX,posY)' from the map?


I'd do it myself but see my post history (exhausted from typing this out).
 
i can get the pin position using this:
PHP:
theGame.GetCommonMapManager().GetUserMapPinByIndex( index, id, area, position.X, position.Y, type );
 function GetUserMapPinByIndex( index : int, out id : int, out area : int, out mapPinX : float, out mapPinY : float, out type : int ) : bool;
View attachment 53751
but i never messed with hotkeys.
 

Attachments

  • mapuserpinposition.jpg
    mapuserpinposition.jpg
    333.3 KB · Views: 2,792
also gota get the Z position, or else you fall under the map

PHP:
if( theGame.GetWorld().NavigationComputeZ( pos, pos.Z - 128, pos.Z + 128, z ) )
{
    pos.Z = z;
}
if( theGame.GetWorld().PhysicsCorrectZ( pos, z ) )
{
    pos.Z = z;
}
 
Thanks guys, I'll see if I can do this now but if someone wants to work on it feel free, it'll take a while on my end anyways.
I'll upload something that works when I finish.
 
Top Bottom