Skip to content

RoomOwner

Monsters, Inc.source

Derived from Entity, Movable, PowerupCapable, Monster

Derived types: Shopkeeper, Tun, Waddler, Yang

Fields

aggro_trigger

boolean

setting this makes him angry, if it's shopkeeper you get 2 aggro points

source

ai_state

integer

source

climb_y_direction

number

source

countdown_timer

integer

can't shot when the timer is running

source

is_patrolling

boolean

source

lose_interest_timer

integer

source

patrol_timer

integer

source

room_index

integer

source

was_hurt

boolean

also is set true if you set aggro to true, get's trigger even when whipping

source

Methods

is_angry_flag_set

function RoomOwner:is_angry_flag_set(): boolean

Returns boolean

source

should_attack_on_sight

function RoomOwner:should_attack_on_sight(): boolean

Returns boolean

source

weapon_type

function RoomOwner:weapon_type(): ENT_TYPE

Returns ENT_TYPE

source