getPlayerCompass: Get player's rotation as compass bearing

Description Usage Arguments Value Examples

View source: R/getPlayerCompass.R

Description

Get the direction that a player is facing as a compass bearing (north, south, east, west, etc.)

Usage

1
getPlayerCompass(player_id = NULL, n_compass_points = c("16", "8", "4"))

Arguments

player_id

Numeric ID for the player

n_compass_points

Number of compass points to use (4, 8, or 16)

Value

A character string representing the player's direct as a compass bearing

Examples

1
2
3
4
5
6
7
## Not run: 
library(miner)
getPlayerIds()
getPlayerRotation(355)
getPlayerCompass(355, 8)

## End(Not run)

ropenscilabs/craft documentation built on Dec. 19, 2020, 9:03 p.m.