Skip to content

Action Struct

skzk edited this page Jul 18, 2025 · 1 revision

Represents trigger action parameters in the Trigger and Cutscene items.

Structure

Field(s) Description
token name Unit name of the trigger action, as defined in /def/world/trigger_action.sii.
struct custom_params Customized actions if supported by the trigger action.
Field(s) Description
u32 num_param_count
(followed by as many floats)
Float parameters.

If num_param_count is 0xFFFFFFFF, there are no custom parameters
of any type and none of the following fields are present.

u32 str_param_count
(followed by as many strings)
String parameters.
u32 target_tag_count
(followed by as many tokens)
?
float target_range
?
u32 action_flags

Bits 0-4: Action type.
    0: Default
    1: Condition
    2: Fallback
    3: Mandatory
    4: Condition_Retry

Clone this wiki locally