benilla-re systems structs docs

CGPlayer_C::SetLootTarget

function · objectlayer · orchestration

Address
0x5ed5f0 · 51 bytes, up to 0x5ed622
Meaning
Holds a GUID as the loot target and plays animation 0x32 when the unit shows loot animations
Confidence
verified, proof one
Finding
objectlayer/interaction#looting

Finding: Looting in objectlayer: interaction

0x5ec110(object) allows a loot when no loot is held, the player is alive with mover flag 0x2000 and unit flag 0x40000 clear, and in control; when the object cannot be reached by walking, it must also be within the reach (for a unit, both combat reaches plus 4/3, at least 5; else 5). 0x5df2a0(unit, walk) loots a unit: lootable, the mover still, it walks up beyond reach, then sends 0x15d, holds the GUID and plays animation 50. 0x5df130 does the same for a corpse, walking up beyond 5 yards (25 squared).

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.