Unit.id

Returns the id of a unit.

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Availability: Server only

Returns the id of a unit.

Returns:

Type Description
integer The unit's id.