benilla-re systems structs docs

SetPortraitTexture

Lua global function

Function
Script::SetPortraitTexture ui
Meaning
Clears a texture widget and binds the unit's portrait: a bake, a cached bake or a stand-in verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x850628
Arguments
2 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