< Lua in SpringRTS < Callins
UnitGiven()
Description
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 values
unitID, unitDefID, unitTeam, oldTeam
Usage example
Related
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.