InitiateTrade
Lua global function
- Function
- Script::InitiateTrade ui
- Meaning
- Sends a trade request for a unit token unless the player is dead, showing ERR_PLAYER_DEAD verified, proof one
- Registered in
- global table s_gameScriptFunctions ui
- Registrar pair
- 0x83e0c8
- Arguments
- 1 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 1
- Starting a trade in ui: trade requests and status messages