Skip to content

NPC

Monsters, Inc.source

Derived from Entity, Movable, PowerupCapable, Monster

Derived types: Beg, Bodyguard, ForestSister, VanHorsing

Fields

aggro

boolean

for bodyguard and shopkeeperclone it spawns a weapon as well

source

ai_state

integer

source

climb_direction

number

source

target_in_sight_timer

integer

source

Methods

should_attack_on_sight

function NPC:should_attack_on_sight(): boolean

Returns boolean

source

weapon_type

function NPC:weapon_type(): ENT_TYPE

Returns ENT_TYPE

source