Difference between revisions of "Game Opcodes:Set Head to Position (/w speed)"

From FFXIV Classic Wiki
Jump to: navigation, search
(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...")
 
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 - 0x0DD
+
:; Opcode - 0x0DC
 
:; Source - Server
 
:; Source - Server
 
:; Data Size - 8 bytes
 
:; Data Size - 8 bytes
Line 15: Line 15:
 
! style="text-align: center; font-size: 14px;" | Description
 
! style="text-align: center; font-size: 14px;" | Description
 
|-
 
|-
| 0x00 || float || 4 Bytes || yaw || The horizontal orientation of the head.
+
| 0x00 || float || 4 Bytes || xPosition || The x-coordinate of the position to look at.
 
|-
 
|-
| 0x04 || float || 4 Bytes || pitch || The vertical orientation of the head.
+
| 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" | '''yaw'''
+
| colspan="4" style="background:#8FA6E8" | '''xPosition'''
| colspan="4" style="background:#8FA6E8" | '''pitch'''
+
| colspan="4" style="background:#8FA6E8" | '''yPosition'''
 +
| colspan="4" style="background:#8FA6E8" | '''zPosition'''
 
| colspan="4" style="background:#8FA6E8" | '''speed'''
 
| colspan="4" style="background:#8FA6E8" | '''speed'''
| 00 || 00 || 00 || 00
 
 
|}
 
|}
  
 
[[Category:Unfinished]]
 
[[Category:Unfinished]]

Revision as of 09:06, 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 - 8 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