skillFinal: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.08 | |1.08 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)). | | Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)). | ||
| unit [[skillFinal]] skillName | | unit [[skillFinal]] skillName | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= skillName: [[String]] - See [[AI Sub-skills|sub-skill]]. Possible values are: | |p2= skillName: [[String]] - See [[AI Sub-skills|sub-skill]]. Possible values are: | ||
* aimingAccuracy | * aimingAccuracy | ||
Line 22: | Line 22: | ||
* reloadSpeed | * reloadSpeed | ||
* commanding | * commanding | ||
* general | * general | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | |x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | ||
| [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | | [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | ||
}} | }} | ||
Revision as of 11:25, 18 January 2021
Description
- Description:
- Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)).
- Groups:
- Object Manipulation
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.