Description
Gets the current value of a trait of the given unit.
Note
For the default values see setUnitTrait.
Syntax
unit getUnitTrait skillName
Parameters:
Returns: - Boolean or Number - trait's value
- Nothing - if unit is invalid, e.g an empty vehicle
Examples
Example 1
player getUnitTrait "Medic";