Get entity position. The default is to get the position of the first player spawned
in the game, but the positions of other players can be gotten using the
player_id argument.
Usage
getPlayerPos(player_id = NULL, tile = FALSE)
Arguments
player_id
Integer giving the ID of a player. You can find IDs of all
current players using getPlayerIds.
tile
Logical value specifying whether to truncate the output position to
an integer (i.e., the location of the tile on which the player is
positioned).
Value
A numeric vector of length three giving the position (x, y, and z) of the
requested player.