Difference between revisions of "Game Opcodes:SetPushEventConditionWithTriggerBox"
From FFXIV Classic Wiki
(Created page with "Sets a push event trigger to this actor. "Push" events are collision tested events, this one specifically setting a trigger box around the actor. This seems to be some kind of...") |
(→Data) |
||
Line 15: | Line 15: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
− | | 0x00 || int32 || 4 Bytes || | + | | 0x00 || int32 || 4 Bytes || bgObjectID || BG Object ID |
|- | |- | ||
− | | 0x04 || int32 || 4 Bytes || | + | | 0x04 || int32 || 4 Bytes || layoutID || Layout ID |
|- | |- | ||
− | | 0x08 || int32 || 4 Bytes || | + | | 0x08 || int32 || 4 Bytes || actorID || Actor ID that this triggers from? 1.22+ it is just set to 0x4. |
|- | |- | ||
| 0x0C || int32 || 4 Bytes || unknown || | | 0x0C || int32 || 4 Bytes || unknown || | ||
Line 25: | Line 25: | ||
| 0x10 || int32 || 4 Bytes || unknown || | | 0x10 || int32 || 4 Bytes || unknown || | ||
|- | |- | ||
− | | 0x14 || byte || 1 Bytes || | + | | 0x14 || byte || 1 Bytes || inwards || Either 0x11 or 0x1. |
|- | |- | ||
| 0x15 || byte || 1 Bytes || unknown || | | 0x15 || byte || 1 Bytes || unknown || | ||
Line 33: | Line 33: | ||
| 0x17 || string || 21 Bytes || eventName || The name of the event that will be sent when a Start/End event is fired. | | 0x17 || string || 21 Bytes || eventName || The name of the event that will be sent when a Start/End event is fired. | ||
|- | |- | ||
− | | 0x38 || string || 8 Bytes || | + | | 0x38 || string || 8 Bytes || reactionName || Might do more, but for DoorStandard; passes to _onReaction. |
|} | |} | ||
Revision as of 13:27, 19 August 2018
Sets a push event trigger to this actor. "Push" events are collision tested events, this one specifically setting a trigger box around the actor. This seems to be some kind of driver for BG Objects.
- Opcode - 0x175
- Source - Server
- Data Size - 0x40 bytes
- Requirements - None
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | int32 | 4 Bytes | bgObjectID | BG Object ID |
0x04 | int32 | 4 Bytes | layoutID | Layout ID |
0x08 | int32 | 4 Bytes | actorID | Actor ID that this triggers from? 1.22+ it is just set to 0x4. |
0x0C | int32 | 4 Bytes | unknown | |
0x10 | int32 | 4 Bytes | unknown | |
0x14 | byte | 1 Bytes | inwards | Either 0x11 or 0x1. |
0x15 | byte | 1 Bytes | unknown | |
0x16 | byte | 1 Bytes | unknown | |
0x17 | string | 21 Bytes | eventName | The name of the event that will be sent when a Start/End event is fired. |
0x38 | string | 8 Bytes | reactionName | Might do more, but for DoorStandard; passes to _onReaction. |
Notes
MarketEntrance is the only known actor that uses this trigger. However in the scripts; DoorStandard also uses this programmatically to trigger doors opening/closing when a player goes near them.
Visual Layout
Packet Data layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown | unknown | unknown | unknown | ||||||||||||
0x10 | unknown | unknown | unknown | unknown | ||||||||||||
0x20 | eventName | |||||||||||||||
0x30 | unknown |