benilla-re systems structs docs

Script::ShowHelm

function · ui · orchestration

Address
0x48de20 · 77 bytes, up to 0x48de6c
Signature
int __fastcall (lua_State *L)
Meaning
Shows or hides the player's helm
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/serviceverbs#helm-cloak-and-enchants

Finding: Helm, cloak and enchants in ui: GM, service and item lookup verbs

ShowingHelm() and ShowingCloak() return 1 when the player's flags word is clear of bit 10 (0x400) and bit 11 (0x800), and nil with no player. ShowHelm([flag]) and ShowCloak([flag]) call the show method for a true flag, true when absent, and the hide method otherwise. BindEnchant() accepts the item enchant that waits on the bind confirmation, and ReplaceEnchant() binds the held item to the pending spell target (BindSpellTargetObject).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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