Player
Represents a player (such as yourself, or another player)
See also
Types
Functions
Link copied to clipboard
Moves the camera to a position where the given entity or position is in view.
Link copied to clipboard
Determines the distance between this entity/tile and the given entity/tile
Link copied to clipboard
Gets the character's current animation
Link copied to clipboard
Gets the combat level of the character.
Link copied to clipboard
Gets the IDs representing the current effects applied to the player, or empty if none exist.
Link copied to clipboard
Gets the player's equipped items.
Link copied to clipboard
Gets the item equipped in the specific slot.
Link copied to clipboard
Gets the current percent of the health bar that is green
Link copied to clipboard
Gets the hitsplats currently displayed on this character
Link copied to clipboard
Gets the Character that this character is interacting with (attacking, following, etc).
Link copied to clipboard
Link copied to clipboard
Gets the next tile this character will be at, if it is moving
Link copied to clipboard
Gets the orientation of this entity
Link copied to clipboard
Gets the overhead icon on this player, such as protect from melee
Link copied to clipboard
Gets the message displayed above this character, such as a public chat message
Link copied to clipboard
Gets the skull icon above this player
Link copied to clipboard
Gets the ID representing the current spot animation of the player, or -1 if the player is not performing a spot animation.
Link copied to clipboard
Gets the direction this character is walking
Link copied to clipboard
Determines if a hint arrow is pointing to this character.
Link copied to clipboard
Checks if the character is currently animating
Link copied to clipboard
Determines if this character is facing a given position.
Link copied to clipboard
Determines if the health bar interface is appearing over this character's head.
Link copied to clipboard
Checks if the mouse is currently over this entity
Link copied to clipboard
Determines if this character is interacting with any another character.
Link copied to clipboard
Determines if this character is interacting with the player.
Link copied to clipboard
Determines if an object is being interacted with by the player
Link copied to clipboard
Gets the stats of this player by checking the highscores.