Script::TargetNearestPartyMember
function · ui · orchestration
- Address
0x489ac0· 27 bytes, up to0x489ada- Signature
int __fastcall (lua_State *L)- Meaning
- Selects the next nearby party member
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/targeting#cycling-through-nearby-units
Finding: Cycling through nearby units in ui: selecting a target
TargetNearestEnemy([reverse]), TargetNearestFriend, TargetNearestPartyMember and TargetNearestRaidMember call
0x493f60(reverse, kind) with kind 1 to 4. The function builds, once per three seconds of use, a list of the units that
pass the kind's filter and a distance gate, sorts it, and selects the next entry after the current target (the previous
one for reverse), wrapping at the end; a list older than one second is rebuilt on wrapping. It does nothing without
the active player or when the protected gate for kind 4 fails.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.