benilla-re systems structs docs

Script::ToggleRun

function · input · orchestration

Address
0x513d50 · 140 bytes, up to 0x513ddb
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Lua function ToggleRun
Confidence
verified, proof one
Name from
the community database (idb)
Finding
input#toggle-run

Finding: Toggle run in input

The Lua function ToggleRun (0x513d50, bound in the table 0x8500b8) flips the walk mode of the unit the client is driving, and refuses silently, returning no result, in this order: the action gate 0x494a50(0) returns 0 (ui/protected); the GUID at 0xc4da98 does not resolve with type mask 8; the unit's health dword is not above 0 (signed); a movement spline exists and its bit 0x4 is clear; health again; its movement flags have 0x1000 or 0x200; its stand state is 7 (dead). Otherwise it calls 0x60e080 with the input clock 0xcf0bc8 (collision/walkmode#walk-toggle-request).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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