TargetByName
Lua global function
- Function
- Script::TargetByName ui
- Meaning
- Selects the best unit matching a name verified, proof one
- Registered in
- global table s_gameScriptFunctions ui
- Registrar pair
- 0x83e078
- Arguments
- 2 exact
- Returns
0values 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 2
- The by-name modes in ui: selection laws
- Targeting by name in ui: selecting a target