Difference between revisions of "Game Opcodes:Set Head to Position (/w speed)"
From FFXIV Classic Wiki
(Created page with "Moves the actor's head to look at an XYZ position. The speed of the animation can be changed. :; Opcode - 0x0DD :; Source - Server :; Data Size - 8 bytes :; Requirements - No...") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Moves the actor's head to look at an XYZ position. The speed of the animation can be changed. | Moves the actor's head to look at an XYZ position. The speed of the animation can be changed. | ||
| − | :; Opcode - | + | :; Opcode - 0x0DC |
:; Source - Server | :; Source - Server | ||
| − | :; Data Size - | + | :; Data Size - 0x10 bytes |
:; Requirements - None | :; Requirements - None | ||
| Line 15: | Line 15: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
| − | | 0x00 || float || 4 Bytes || | + | | 0x00 || float || 4 Bytes || xPosition || The x-coordinate of the position to look at. |
|- | |- | ||
| − | | 0x04 || float || 4 Bytes || | + | | 0x04 || float || 4 Bytes || yPosition || The y-coordinate of the position to look at. |
|- | |- | ||
| − | | 0x08 || float|| 4 Bytes || speed || The speed at which to play the animation. | + | | 0x08 || float || 4 Bytes || zPosition || The z-coordinate of the position to look at. |
| + | |- | ||
| + | | 0x0C || float || 4 Bytes || speed || The speed at which to play the animation. | ||
|} | |} | ||
| Line 31: | Line 33: | ||
|- | |- | ||
! 0x00 | ! 0x00 | ||
| − | | colspan="4" style="background:#8FA6E8" | ''' | + | | colspan="4" style="background:#8FA6E8" | '''xPosition''' |
| − | | colspan="4" style="background:#8FA6E8" | ''' | + | | colspan="4" style="background:#8FA6E8" | '''yPosition''' |
| + | | colspan="4" style="background:#8FA6E8" | '''zPosition''' | ||
| colspan="4" style="background:#8FA6E8" | '''speed''' | | colspan="4" style="background:#8FA6E8" | '''speed''' | ||
| − | |||
|} | |} | ||
[[Category:Unfinished]] | [[Category:Unfinished]] | ||
Latest revision as of 09:11, 31 July 2018
Moves the actor's head to look at an XYZ position. The speed of the animation can be changed.
- Opcode - 0x0DC
- Source - Server
- Data Size - 0x10 bytes
- Requirements - None
Data
| Offset | Data Type | Length | Variable | Description |
|---|---|---|---|---|
| 0x00 | float | 4 Bytes | xPosition | The x-coordinate of the position to look at. |
| 0x04 | float | 4 Bytes | yPosition | The y-coordinate of the position to look at. |
| 0x08 | float | 4 Bytes | zPosition | The z-coordinate of the position to look at. |
| 0x0C | float | 4 Bytes | speed | The speed at which to play the animation. |
Visual Layout
| Packet Data layout | ||||||||||||||||
| 0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x00 | xPosition | yPosition | zPosition | speed | ||||||||||||