benilla-re systems structs docs

CGPlayer_C::GetPossessedFarSightUnit

function · objectlayer · primitive

Address
0x5ee5a0 · 184 bytes, up to 0x5ee657
Meaning
Returns the far-sight unit when it is under unit flag 0x1000000 and owned by the player
Confidence
verified, proof one
Finding
objectlayer/interaction#far-sight

Finding: Far sight in objectlayer: interaction

0x5ee290 follows PLAYER_FARSIGHT. With no far-sight object, or with the camera already on it, it ends far sight: sends 0x27a with 0 if it is on, stops spell targeting and makes the player the active mover (none when not client-controlled). Otherwise it sends 0x27a with 1 once, stops the melee attack, and makes the object the active mover when it is a unit the client controls, else calls 0x514640 on the input control. A set GUID with no object returns 0 after restoring control.

The derivation is in the doc.

Callers 4

Callees 2

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