skillFinal

From Bohemia Interactive Community
Revision as of 19:06, 25 March 2018 by Lou Montana (talk | contribs) (Change setSkill_array reference to setSkill)
Jump to navigation Jump to search
Hover & click on the images for description

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:
_unitTrueEndurance = unit1 skillFinal "endurance";

Additional Information

See also:
skillsetSkillsetUnitAbilityCfgAISkillAI Combat Modes

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

ondrejkuzel
Since 1.40 the command works also in MP environment
Posted on January 31, 2015 - 8:45

Bottom Section