benilla-re systems structs docs

Script::FollowUnit

function · ui · orchestration

Address
0x489e00 · 192 bytes, up to 0x489ebf
Signature
int __fastcall (lua_State *L)
Meaning
Starts the follow auto-move toward the unit a token names
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/targeting#assist-and-follow

Finding: Assist and follow in ui: selecting a target

AssistUnit("unit") selects the unit's own target, the GUID in its descriptor at +0x28, and, when the assistAttack option is nonzero, starts attacking it; a token that resolves to no unit shows ERR_GENERIC_NO_TARGET, and a unit with no target does nothing. FollowUnit("unit") starts the follow auto-move toward the unit for the mover, with mode 3; an unresolved token shows ERR_GENERIC_NO_TARGET. ToggleSheath() calls ToggleSheathe on the player.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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