UnitCanCooperate
Lua global function
- Function
- Script::UnitCanCooperate ui
- Meaning
- Pushes 1 when two units can cooperate by reaction or the roster fallback, else nil verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x8504c0
- Arguments
- 2 exact
- Returns
1values exact, kinds(nil) | (number)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
- Friend and cooperation fallbacks in ui: the player token before the player object