skillFinal: Difference between revisions
Jump to navigation
Jump to search
m (fixed variable name in example) |
Lou Montana (talk | contribs) m (Text replacement - "<br />" to "<br>") |
||
Line 43: | Line 43: | ||
<dd class="notedate">Posted on August 11, 2018 - 17:12 GMT+02:00 | <dd class="notedate">Posted on August 11, 2018 - 17:12 GMT+02:00 | ||
<dt class="note">[[User:Lou Montana|Lou Montana]] | <dt class="note">[[User:Lou Montana|Lou Montana]] | ||
<dd class="note">"endurance" is not exactly a valid value since {{arma3}} (see [[AI Sub-skills|sub-skill]]).<br | <dd class="note">"endurance" is not exactly a valid value since {{arma3}} (see [[AI Sub-skills|sub-skill]]).<br> | ||
The value can still be queried but is not pertinent. | The value can still be queried but is not pertinent. | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 13:00, 19 March 2020
Description
- Description:
- Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit skillFinal skillName
- Parameters:
- unit: Object
- skillName: String - See sub-skill. Possible values are:
- aimingAccuracy
- aimingShake
- aimingSpeed
- endurance
- spotDistance
- spotTime
- courage
- reloadSpeed
- commanding
- general
- Return Value:
- Number
Examples
- Example 1:
_unitTrueCourage = unit1 skillFinal "courage";
Additional Information
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
Notes
- Posted on January 31, 2015 - 8:45
- ondrejkuzel
- Since 1.40 the command works also in MP environment
- Posted on August 11, 2018 - 17:12 GMT+02:00
- Lou Montana
- "endurance" is not exactly a valid value since Arma 3 (see sub-skill).
The value can still be queried but is not pertinent.