Skip to content

Trigger

skzk edited this page Jul 18, 2025 · 5 revisions

Item ID: 0x22 (34)
Item file: base

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
Bit 0: Partial activation
Bit 1: Oriented activation
Bit 2: Vehicle activator
Bit 3: Connected trailer activator
Bit 4: Disconnected trailer activator
Bit 5: Collision activation
Byte 1: DLC guard
Bit 16: Init disabled
Bit 17: Far view distance
Bit 18: Secret trigger

u32 tags_count
array_token item_tags
List of tags.
u32 node_count
array_u64 node_uid

UIDs of the nodes of this item.

If there are two nodes, the trigger area is a cylinder, with the first node defining its center and the second node defining one point on its circumference.
If there is only one node, this item is a legacy version of the former with an additional range parameter at the end.
Otherwise, the nodes define the circumference of a prism.

The rotation of nodes is ignored; its y coordinates influence the height of the trigger area.

u32 action_count
array_struct actions
The trigger action(s) this trigger will start; see Action Struct.
float trigger_range Radius of legacy triggers; only present if this item has only one node.
Clone this wiki locally