getUnitTrait: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 7: Line 7:


| Gets the current value of a trait of the given unit.
| Gets the current value of a trait of the given unit.
{{Informative | For the default values please visit [[setUnitTrait]].}}
{{Feature | Informative | For the default values please visit [[setUnitTrait]].}}


|unit [[getUnitTrait]] skillName
|unit [[getUnitTrait]] skillName

Revision as of 00:11, 7 February 2021

Hover & click on the images for description

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:
See also needed

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