Table of Contents

ActionButtonParam

Fields

Field Type Offset Description Notes
regionType u8 0x0 Range shape (cylinder, prism, capsule) This field uses the following enum: ACTION_BUTTON_REGION_TYPE
padding1 dummy8 0x1 This field is padding.
dummyPoly1 s32 0x4 Specify the Damipoli ID that is the center of the bottom of the range. If there is no Damipoly or -1 is entered, the center coordinates will be the reference.
dummyPoly2 s32 0x8 Used only when the range type is a capsule. Additional Damipoly (capsule) that creates a line segment with two Damipoly
radius f32 0xc Radius (cylinder / capsule)
angle s32 0x10 Angle (cylinder)
depth f32 0x14 Depth (prism)
width f32 0x18 Width (prism)
height f32 0x1c Height (cylinder / prism)
baseHeightOffset f32 0x20 How much to raise or lower the Y coordinate of the bottom (cylinder / prism)
angleCheckType u8 0x24 Angle difference judgment type (cylinder / prism) This field uses the following enum: ACTION_BUTTON_ANGLE_CHECK_TYPE
padding2 dummy8 0x25 This field is padding.
allowAngle s32 0x28 Allowable angle difference (cylinder / prism)
textBoxType u8 0x2c Text box type This field uses the following enum: ACTION_BUTTON_TEXT_BOX_TYPE
padding3 dummy8 0x2d This field is padding.
textId s32 0x30 Text ID to display This field refers to the following text files: Event_Text
invalidFlag s32 0x34 If this flag is ON, the action button will not appear and no judgment will be made.
grayoutFlag s32 0x38 If this flag is ON, the action button will be grayed out and no judgment will be made.
priority s32 0x3c
execInvalidTime f32 0x40 Invalid time after execution (-infinite by value)
execButtonCircle u8 0x44
padding4 dummy8 0x45 This field is padding.

Enums

ACTION_BUTTON_REGION_TYPE

Option Description Notes
0 Cylinder
1 Prism
2 Capsule

ACTION_BUTTON_ANGLE_CHECK_TYPE

Option Description Notes
0 Type 0
1 Type 1

ACTION_BUTTON_TEXT_BOX_TYPE

Option Description Notes
0 Type 0