benilla-re systems structs docs

Script::CastSpellByName

function · ui · orchestration

Address
0x4b4ab0 · 130 bytes, up to 0x4b4b31
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Lua function CastSpellByName
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/macros#castspellbyname

Finding: CastSpellByName in ui: macros

CastSpellByName(name[, onSelf]) resolves the name as above and casts the slot as ui/spellbook#casting-a-book-spell does, on the player when onSelf is true and on the current target otherwise. An unknown name does nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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