Description Usage Arguments Value Examples
View source: R/getPlayerCompass.R
Get the direction that a player is facing as a compass bearing (north, south, east, west, etc.)
1 | getPlayerCompass(player_id = NULL, n_compass_points = c("16", "8", "4"))
|
player_id |
Numeric ID for the player |
n_compass_points |
Number of compass points to use (4, 8, or 16) |
A character string representing the player's direct as a compass bearing
1 2 3 4 5 6 7 | ## Not run:
library(miner)
getPlayerIds()
getPlayerRotation(355)
getPlayerCompass(355, 8)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.