benilla-re systems structs docs

SpellTargetUnit

Lua global function

Function
Script::SpellTargetUnit spell
Meaning
Binds a unit token through 0x6e5b10 while targeting, or raises reason 0x59 when it names no unit verified, proof one
Registered in
global table s_spellTargetingScriptFunctions spell
Registrar pair
0x86f960
Arguments
1 exact
Returns
0 values exact, kinds () agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1