captive
Jump to navigation
Jump to search
captive unit
Operand types:
unit: Object
Type of returned value:
Description:
Check if unit is captive.
If unit is a vehicle, its commander is checked.
Example:
? !(captive player) : goto "run"
Comments:
Use setCaptive to make a unit captive.