Difference between revisions of "Game Opcodes:SetPushEventConditionWithCircle"
From FFXIV Classic Wiki
(→Visual Layout) |
(→Data) |
||
Line 25: | Line 25: | ||
| 0x10 || byte || 1 Bytes || direction || Changes behavior of the push circle. If 0x11; triggers when player leaves the circle. If 0x1, triggers when player enters the circle. | | 0x10 || byte || 1 Bytes || direction || Changes behavior of the push circle. If 0x11; triggers when player leaves the circle. If 0x1, triggers when player enters the circle. | ||
|- | |- | ||
− | | 0x11 || byte || 1 Bytes || unknown || | + | | 0x11 || byte || 1 Bytes || unknown || Gets shifted around to make 3 booleans. |
|- | |- | ||
| 0x12 || byte || 1 Bytes || isSilent || If 0x1, does not cause the UI and player to lockup. | | 0x12 || byte || 1 Bytes || isSilent || If 0x1, does not cause the UI and player to lockup. |
Revision as of 17:18, 26 June 2019
Sets a push event trigger to this actor. "Push" events are collision tested events, this one specifically setting a trigger circle around the actor.
- Opcode - 0x16F
- Source - Server
- Data Size - 0x38 bytes
- Requirements - None
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | float | 4 Bytes | radius | How far the trigger circle extends from the actor. |
0x04 | float | 4 Bytes | unknown | |
0x08 | float | 4 Bytes | unknown | |
0x0C | float | 4 Bytes | unknown | |
0x10 | byte | 1 Bytes | direction | Changes behavior of the push circle. If 0x11; triggers when player leaves the circle. If 0x1, triggers when player enters the circle. |
0x11 | byte | 1 Bytes | unknown | Gets shifted around to make 3 booleans. |
0x12 | byte | 1 Bytes | isSilent | If 0x1, does not cause the UI and player to lockup. |
0x13 | string | 32 Bytes | eventName | The name of the event that will be sent when a Start/End event is fired. |
Notes
Generic events are usually named "pushDefault". Certain scripts require specific event names; ie: PushCommands need a "pushCommandIn" and "pushCommandOut" trigger.
Visual Layout
Packet Data layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | radius | unknown | unknown | unknown | ||||||||||||
0x10 | direction | unknown | isSilent | |||||||||||||
0x20 | eventName | |||||||||||||||
0x30 | 00 | 00 | 00 | 00 | 00 |