skillFinal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 30: | Line 30: | ||
|x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | |x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | ||
|seealso= [[skill]] [[setSkill]] | |seealso= [[skill]] [[setSkill]] [[setUnitAbility]], [[CfgAISkill]], [[Combat Modes]] | ||
}} | }} | ||
[[Category:AI]] | [[Category:AI]] |
Revision as of 18:16, 20 January 2022
Description
- Description:
- Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)).
- Multiplayer:
- Since 1.40 the command works in multiplayer.
- Groups:
- Object Manipulation
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
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