Skip to content

Type Alias: TXR_action_type

ts
type TXR_action_type = 
  | typeof movement
  | typeof watch
  | typeof animation
  | typeof sound
  | typeof particle
  | typeof object
  | 7;

Script entity action type id passed to action callbacks.

Source

C++ enum ScriptEntity::EActionType

Remarks

7 is native ScriptEntity::eActionTypeRemoved. It is used by the action-removed callback but is not exported as a named game_object.action_types enum member.