Class

NpcDefinition

NpcDefinition

Members

Array

# actions

View Source loaders/NpcLoader.js, line 62

Byte

# ambient

Number from 0 to 255. Overrides NPC model's ambient lighting

View Source loaders/NpcLoader.js, line 116

number

# category

View Source loaders/NpcLoader.js, line 59

Array

# chatheadModels

The models that will compose this NPC's chathead

View Source loaders/NpcLoader.js, line 92

number

# combatLevel

This NPC's combat level

View Source loaders/NpcLoader.js, line 104

Byte

# contrast

Number from 0 to 255. Overrides NPC model's contrast

View Source loaders/NpcLoader.js, line 122

number

# crawlAnimation

View Source loaders/NpcLoader.js, line 164

number

# crawlRotate180Animation

View Source loaders/NpcLoader.js, line 167

number

# crawlRotateLeftAnimation

View Source loaders/NpcLoader.js, line 170

number

# crawlRotateRightAnimation

View Source loaders/NpcLoader.js, line 173

boolean

# hasRenderPriority

View Source loaders/NpcLoader.js, line 110

Array

# headIconArchiveIds

View Source loaders/NpcLoader.js, line 125

Array

# headIconSpriteIndex

View Source loaders/NpcLoader.js, line 128

number

# heightScale

View Source loaders/NpcLoader.js, line 107

number

# id

The ID of this NPC

View Source loaders/NpcLoader.js, line 11

boolean

# isInteractable

View Source loaders/NpcLoader.js, line 143

boolean

# isMinimapVisible

If this NPC will show on the minimap

View Source loaders/NpcLoader.js, line 98

Array

# models

The models that compose the NPC

View Source loaders/NpcLoader.js, line 17

string

# name

Name of the NPC

View Source loaders/NpcLoader.js, line 23

Array

# recolorToFind

Color values to find to be replaced for this NPC

View Source loaders/NpcLoader.js, line 68

Array

# recolorToReplace

What the color values will be replaced with

View Source loaders/NpcLoader.js, line 74

Array

# retextureToFind

Textures to find to be replaced for this NPC

View Source loaders/NpcLoader.js, line 80

Array

# retextureToReplace

What the texture will be replaced with

View Source loaders/NpcLoader.js, line 86

number

# rotate180Animation

View Source loaders/NpcLoader.js, line 50

number

# rotate90LeftAnimation

View Source loaders/NpcLoader.js, line 53

number

# rotate90RightAnimation

View Source loaders/NpcLoader.js, line 56

number

# rotateLeftAnimation

View Source loaders/NpcLoader.js, line 44

number

# rotateRightAnimation

View Source loaders/NpcLoader.js, line 47

boolean

# rotationFlag

View Source loaders/NpcLoader.js, line 146

number

# rotationSpeed

View Source loaders/NpcLoader.js, line 131

number

# runAnimation

View Source loaders/NpcLoader.js, line 152

number

# runRotate180Animation

View Source loaders/NpcLoader.js, line 155

number

# runRotateLeftAnimation

View Source loaders/NpcLoader.js, line 158

number

# runRotateRightAnimation

View Source loaders/NpcLoader.js, line 161

number

# size

Tile size

View Source loaders/NpcLoader.js, line 29

number

# standingAnimation

Idle animation

View Source loaders/NpcLoader.js, line 35

number

# varbitId

View Source loaders/NpcLoader.js, line 134

number

# varpIndex

View Source loaders/NpcLoader.js, line 137

number

# walkingAnimation

Walking animation

View Source loaders/NpcLoader.js, line 41