Script::ToggleSheath
function · ui · orchestration
- Address
0x48a070· 41 bytes, up to0x48a098- Signature
int __fastcall (lua_State *L)- Meaning
- Toggles the player's weapon sheath
- 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 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGPlayer_C::ToggleSheathe objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.