Difference between revisions of "Game Opcodes:Set Actor Position"
From FFXIV Classic Wiki
Line 58: | Line 58: | ||
| colspan="2" style="background:#8FA6E8" | '''spawnType''' | | colspan="2" style="background:#8FA6E8" | '''spawnType''' | ||
| colspan="2" style="background:#CEE0F2" | '''isPlayerZoning''' | | colspan="2" style="background:#CEE0F2" | '''isPlayerZoning''' | ||
− | | 00 || 00 || 00 || 00 | 00 || 00 || 00 || 00 | + | | 00 || 00 || 00 || 00 | 00 || 00 || 00 || 00 | 00 || 00 || 00 |
! 0x30 | ! 0x30 | ||
|- | |- |
Revision as of 10:27, 29 July 2018
Sets the spawn parameters for an actor that was just instantiated.
- Opcode - 0x0CE
- Source - Server
- Data Size - 48 bytes
- Requirements - None
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | uint32 | 4 Bytes | unknown | |
0x04 | uint32 | 4 Bytes | actorID | The actor ID that this applies to. |
0x08 | float | 4 Bytes | xPosition | The X position of the spawning actor. |
0x0C | float | 4 Bytes | yPosition | The Y position of the spawning actor. |
0x10 | float | 4 Bytes | zPosition | The Z position of the spawning actor. |
0x14 | float | 4 Bytes | rotation | The rotation of the spawning actor. |
0x24 | uint16 | 2 Bytes | spawnType | The animation to play when this actor spawns. |
0x26 | uint16 | 2 Bytes | isZoningPlayer | This has to be 1 if the actor is a player being zoned. |
Notes
Visual Layout
Packet Data layout | |||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown | actorID | xPosition | yPosition | |||||||||||||
0x10 | zPosition | rotation | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | |||||||
0x20 | |||||||||||||||||
00 | 00 | 00 | 00 | spawnType | isPlayerZoning | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 0x30 |