benilla-re systems structs docs

LoadAddOn

Lua global function

Function
Script::LoadAddOn ui
Meaning
Loads an add-on on demand and returns 1, or nil and the reason verified, proof two
Registered in
global table s_gameScriptFunctions ui
Registrar pair
0x83e4f0
Arguments
1 exact
Returns
2 values exact, kinds (nil,string) | (nil,string?) | (number,nil) 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