getUnitTrait: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 16: | Line 16: | ||
* [[Nothing]] - if ''unit'' is invalid, e.g an empty vehicle | * [[Nothing]] - if ''unit'' is invalid, e.g an empty vehicle | ||
|x1= <code>[[player]] [[getUnitTrait]] "Medic";</code> | |x1= <code>[[player]] [[getUnitTrait]] "Medic";</code> | ||
| [[setUnitTrait]], [[getAllUnitTraits]] | |seealso= [[setUnitTrait]], [[getAllUnitTraits]] | ||
}} | }} |
Revision as of 23:47, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- Unit: Object
- skillName: String - Name of the skill
- Return Value:
- Return value needed
Examples
- Example 1:
player getUnitTrait "Medic";
Additional Information
- See also:
- setUnitTraitgetAllUnitTraits
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