skillFinal

From Bohemia Interactive Community
Revision as of 17:00, 11 August 2018 by R3vo (talk | contribs) (fixed variable name in example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.08
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.08

Description

Description:
Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)).

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

Multiplayer:
-
See also:
skillsetSkillsetUnitAbilityCfgAISkillAI Combat Modes

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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.

Bottom Section