getAllUnitTraits
Jump to navigation
Jump to search
Description
- Description:
- Returns unit traits, native or set by setUnitTrait.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- getAllUnitTraits unit
- Parameters:
- unit: Object
- Return Value:
- Array of Arrays in format [name, value] where:
Alternative Syntax
- Syntax:
- getAllUnitTraits configClass
- Parameters:
- configClass: String
- Return Value:
- same as Syntax 1
Examples
- Example 1:
- Example 2:
- Example 3:
- Since 2.16
Additional Information
- See also:
- setUnitTrait
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note