Last modified on 12 January 2011, at 10:28

Lua in SpringRTS/Callins/UnitGiven()

UnitGiven()Edit

DescriptionEdit

Runs when a unit is given to a player. That can be either a unit given directly from an other player or a unit being given to the player by cheating.

Return valuesEdit

unitID, unitDefID, unitTeam, oldTeam

Usage exampleEdit


RelatedEdit