Script::IsResting
function · ui · orchestration
- Address
0x516ea0· 86 bytes, up to0x516ef5- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 when the active player is resting, else nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/rested#resting-flag
Finding: Resting flag in ui: rested experience functions
IsResting() returns the number 1 when bit 5 of PLAYER_FLAGS (the dword at +8 of the player block) is set for the
active player, and nil otherwise, including for an absent player. It never returns a boolean.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.