Difference between revisions of "Game Opcodes:Set Actor MainState"
From FFXIV Classic Wiki
(Created page with "Sets the actor's MainState, changing the mode they are in. :; Opcode - 0x134 :; Source - Server :; Data Size - 0x28 bytes :; Requirements - Must play an Battle Effect packet...") |
(→Known States) |
||
Line 22: | Line 22: | ||
== Known States == | == Known States == | ||
− | {| class="wikitable sortable | + | {| class="wikitable sortable" |
! width="50px" style="text-align: center; font-size: 14px;" | Value | ! width="50px" style="text-align: center; font-size: 14px;" | Value | ||
− | ! | + | ! style="text-align: center; font-size: 14px;" | Description |
|- | |- | ||
| 0x00 || Passive State; default state of all actors, shows field idle. | | 0x00 || Passive State; default state of all actors, shows field idle. |
Revision as of 09:54, 5 September 2018
Sets the actor's MainState, changing the mode they are in.
- Opcode - 0x134
- Source - Server
- Data Size - 0x28 bytes
- Requirements - Must play an Battle Effect packet after for animations to take effect.
Contents
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | byte | 0x1 Bytes | state | Turns off and on the partsBreak flags for the model. Used to disable body parts as they are damaged (IE: Ifrit's Horn). Up to 8 flags. |
0x01 | byte | 0x1 Bytes | unknown |
Known States
Value | Description |
---|---|
0x00 | Passive State; default state of all actors, shows field idle. |
0x01 | Dead State; changes the nameplate and disables targeting and commands. |
0x02 | Active State; starts battle idle and allows for battle commands to fire. |
0x03 | Dead State 2; unknown. |
0x0A | Sitting (Object) State; used when sitting on a bed or bench. |
0x0E | Sitting (Floor) State; used when sitting on the floor. |
0x0F | Mounted State; plays a mount/dismount animation on transition. |
0x1E | |
0x1F | |
0x20 |
Notes
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | state | unknown' |