Script::FollowByName
function · ui · orchestration
- Address
0x489ec0· 302 bytes, up to0x489fed- Signature
int __fastcall (lua_State *L)- Meaning
- Follows the best matching player, or the current target for an empty name
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/targeting#targeting-by-name
Finding: Targeting by name in ui: selecting a target
TargetByName("name" [, exact]) selects the best unit of mask 8 (any unit) in mode 0. AssistByName("name") does the
same with mask 0x10 (players), then assists as AssistUnit does; with an empty name it assists the current target.
FollowByName("name" [, exact]) follows the best player, mode 2, or the current target for an empty name. A name that finds
nothing shows ERR_UNIT_NOT_FOUND when the text is nonempty, else ERR_GENERIC_NO_TARGET.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::ClosestObjectMatch ui
- CGGameUI::DisplayError ui
- CGUnit_C::StartAutoMoveToObject objectlayer
- GetScriptFlagArg ui
- lua_isstring lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.