Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Trigger Struct Reference

Detailed Description

Definition at line 379 of file common_structs.h.

#include "common_structs.h"

Data Fields

s32 flags
 
s32 varIndex
 
union { 
 
s32 colliderID
 
struct BombTriggerblast
 
location 
 
s32(* onActivateFunc )(struct Trigger *)
 
EvtScriptonTriggerEvt
 
struct EvtrunningScript
 
s32 priority
 
union { 
 
s32 varTable [3]
 
f32 varTableF [3]
 
void * varTablePtr [3]
 
};  
 
s32 * itemList
 
s32 tattleMsg
 
u8 hasPlayerInteractPrompt
 
char unk_31 [3]
 
s32 runningScriptID
 

Field Documentation

◆ flags

◆ varIndex

s32 Trigger::varIndex

Definition at line 381 of file common_structs.h.

Referenced by create_trigger(), and update_triggers().

◆ [union]

union { ... } Trigger::location

◆ onActivateFunc

s32(* Trigger::onActivateFunc) (struct Trigger *)

Definition at line 386 of file common_structs.h.

Referenced by create_trigger(), and update_triggers().

◆ onTriggerEvt

◆ runningScript

◆ priority

◆ [union]

union { ... } Trigger

◆ itemList

s32* Trigger::itemList

Definition at line 395 of file common_structs.h.

Referenced by create_trigger().

◆ tattleMsg

s32 Trigger::tattleMsg

Definition at line 396 of file common_structs.h.

Referenced by create_trigger(), and get_trigger_tattle().

◆ hasPlayerInteractPrompt

u8 Trigger::hasPlayerInteractPrompt

Definition at line 397 of file common_structs.h.

Referenced by create_trigger(), and should_collider_allow_interact().

◆ unk_31

char Trigger::unk_31[3]

Definition at line 398 of file common_structs.h.

◆ runningScriptID

s32 Trigger::runningScriptID

The documentation for this struct was generated from the following file: