Npc
class Npc(accessor: INpc?) : Actor<INpc> , Identifiable, Actionable, Nillable<Npc>
Content copied to clipboard
Types
Functions
animationCycle
Link copied to clipboard
animationDelay
Link copied to clipboard
animationFrame
Link copied to clipboard
boundingModel
Link copied to clipboard
Gets the current bounding model
Sets the bounding model
fun boundingModel(expectedModel: BoundingModel?, boundingModel: BoundingModel?)
Content copied to clipboard
Compares and sets the bounding model
calculateScreenPosition
Link copied to clipboard
centerPoint
Link copied to clipboard
{@inheritDoc}
doSetBounds
Link copied to clipboard
facingTile
Link copied to clipboard
healthBarVisible
Link copied to clipboard
Whether or not the entity has a health bar displayed over their head. This can be used to determine whether or not the entity is currently in combat.
healthPercent
Link copied to clipboard
The current percent of the health bar.
idleAnimation
Link copied to clipboard
interacting
Link copied to clipboard
The current entity of which this entity is interacting with. If the client is not loaded or there is no entity being interacted with, this will return Nil.
interactingIndex
Link copied to clipboard
inViewport
Link copied to clipboard
{@inheritDoc}
Returns true
if the object is currently rendered in the viewport.
isRendered
Link copied to clipboard
modelCenterPoint
Link copied to clipboard
Get the center point of the model
modelHeight
Link copied to clipboard
modelOrientations
Link copied to clipboard
The orientations of the entity
movementAnimation
Link copied to clipboard
movementAnimationCycle
Link copied to clipboard
movementAnimationFrame
Link copied to clipboard
orientation
Link copied to clipboard
overheadMessage
Link copied to clipboard
The current message which appears above the head of the entity.
renderables
Link copied to clipboard
renderHeight
Link copied to clipboard
spotAnimation
Link copied to clipboard
spotAnimationCycle
Link copied to clipboard
spotAnimationFrame
Link copied to clipboard
tileHeight
Link copied to clipboard
Properties
boundingModel
Link copied to clipboard
combatLevel
Link copied to clipboard
config
Link copied to clipboard