benilla-re systems structs docs

s_cvarAssistAttack

global · ui

Address
0xb4d8f8 · 4 bytes, up to 0xb4d8fb
Type
void *
Meaning
Points to the assistAttack record, default 0
Confidence
verified, proof one
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.