Difference between revisions of "Game Opcodes:Set Emnity Indicator"
From FFXIV Classic Wiki
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Sets the | + | Sets the enmity indicators for an actor. |
:; Opcode - 0x195 | :; Opcode - 0x195 | ||
| Line 15: | Line 15: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
| − | | 0x00 || uint32 || 4 Bytes || targetActorID || The actor that | + | | 0x00 || uint32 || 4 Bytes || targetActorID || The actorID of the actor that this bnpc is focusing on. Causes the indicator to flash red (regardless of hate level). |
|- | |- | ||
| − | | 0x04 || | + | | 0x04 || uint16 || 2 Bytes || hateAmount || Sets the percentage of hate this actor has. |
| + | |} | ||
| + | |||
| + | == Hate Level Values == | ||
| + | |||
| + | {| class="wikitable sortable" | ||
| + | ! style="text-align: center; font-size: 14px;" | Range | ||
| + | ! style="text-align: center; font-size: 14px;" | Gem Color | ||
| + | |- | ||
| + | | 0 || Invisible | ||
| + | |- | ||
| + | | 1 - 49 || Green | ||
| + | |- | ||
| + | | 50 - 79 || Yellow | ||
| + | |- | ||
| + | | 80+ || Red | ||
|} | |} | ||
| Line 30: | Line 45: | ||
! 0x00 | ! 0x00 | ||
| colspan="4" style="background:#8FA6E8" | '''targetActorID ''' | | colspan="4" style="background:#8FA6E8" | '''targetActorID ''' | ||
| − | | colspan=" | + | | colspan="2" style="background:#8FA6E8" | '''hateAmount ''' |
| + | | 00 || 00 | ||
|} | |} | ||
[[Category:Unfinished]] | [[Category:Unfinished]] | ||
Latest revision as of 15:10, 3 August 2018
Sets the enmity indicators for an actor.
- Opcode - 0x195
- Source - Server
- Data Size - 0x08 bytes
- Requirements - Source actor ID must set (where is emnity coming from).
Data
| Offset | Data Type | Length | Variable | Description |
|---|---|---|---|---|
| 0x00 | uint32 | 4 Bytes | targetActorID | The actorID of the actor that this bnpc is focusing on. Causes the indicator to flash red (regardless of hate level). |
| 0x04 | uint16 | 2 Bytes | hateAmount | Sets the percentage of hate this actor has. |
Hate Level Values
| Range | Gem Color |
|---|---|
| 0 | Invisible |
| 1 - 49 | Green |
| 50 - 79 | Yellow |
| 80+ | Red |
Visual Layout
| Packet Data layout | ||||||||||||||||
| 0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x00 | targetActorID | hateAmount | 00 | 00 | ||||||||||||