Difference between revisions of "SitOnObject (0000013B)"

From SWGANH Wiki
Jump to: navigation, search
 
Line 9: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''<font color=red>Unknown</font>'''
+
|{{long}}|'''Cell ID'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color=red>Unknown</font>'''
+
|{{float}}|'''coord X'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color=red>Unknown</font>'''
+
|{{float}}|'''Coord Z'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color=red>Unknown</font>'''
+
|{{float}}|'''Coord Y '''
 
|-
 
|-
 
|}
 
|}
 +
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 24: Line 25:
 
----
 
----
  
 +
*Cell ID: The ID of the cell the chair is in
 +
*coord X: X position of the chair
 +
*coord Z: Z position of the chair
 +
*coord Y: Y position of the chair
 
* Sit on chair
 
* Sit on chair
  
Line 33: Line 38:
 
||{{ObjControllerMessageTag}}
 
||{{ObjControllerMessageTag}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}
 +
 +
 +
===Example Packet===
 +
 +
 +
ObjectController 13Bh (S->C) SitOnObject
 +
  //Packet Break for SitOnObject Controller
 +
  ObjectControllerHeader (1Bh,13Bh)
 +
  E0 BE 2F 2A 09 00 00 00  //CellID
 +
  1F A2 AF 40 //5.48854
 +
  DC 84 6B BE //-0.229999
 +
  8E 58 A6 C0 //-5.19831

Revision as of 00:22, 1 April 2007


Struct


LONG Cell ID
FLOAT coord X
FLOAT Coord Z
FLOAT Coord Y


Variable Descriptions


controllerID = 0000013B


  • Cell ID: The ID of the cell the chair is in
  • coord X: X position of the chair
  • coord Z: Z position of the chair
  • coord Y: Y position of the chair
  • Sit on chair

Tags


OCM This header is part of the ObjControllerMessage.

100% This packet has been completely reversed.


Example Packet

ObjectController 13Bh (S->C) SitOnObject
  //Packet Break for SitOnObject Controller
  ObjectControllerHeader (1Bh,13Bh)
  E0 BE 2F 2A 09 00 00 00  //CellID
  1F A2 AF 40 //5.48854
  DC 84 6B BE //-0.229999
  8E 58 A6 C0 //-5.19831