skillFinal

From Bohemia Interactive Community
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)).
Multiplayer:
Since Arma 3 logo black.png1.40 the command works in multiplayer.
Groups:
AI Behaviour

Syntax

Syntax:
unit skillFinal skillName
Parameters:
unit: Object
skillName: String - see sub-skill. Possible values are:
  • "aimingAccuracy"
  • "aimingShake"
  • "aimingSpeed"
  • "endurance" (Has no effect in Arma 3)
  • "spotDistance"
  • "spotTime"
  • "courage"
  • "reloadSpeed"
  • "commanding"
  • "general"
Return Value:
Number

Examples

Example 1:
_unitTrueCourage = unit1 skillFinal "courage";

Additional Information

See also:
skill setSkill setUnitAbility CfgAISkill 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