skillFinal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.08 | |version1= 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)). | |descr= Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)). | ||
| unit [[skillFinal]] skillName | |mp= Since {{GVI|arma3|1.40}} the command works in multiplayer. | ||
|s1= 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" | ||
* aimingShake | * "aimingShake" | ||
* aimingSpeed | * "aimingSpeed" | ||
* | * "endurance" (Has no effect in {{arma3}}) | ||
* spotDistance | * "spotDistance" | ||
* spotTime | * "spotTime" | ||
* courage | * "courage" | ||
* reloadSpeed | * "reloadSpeed" | ||
* commanding | * "commanding" | ||
* general | * "general" | ||
| [[Number]] | |r1= [[Number]] | ||
|x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | |x1= <code>_unitTrueCourage = unit1 [[skillFinal]] "courage";</code> | ||
Line 30: | Line 33: | ||
|seealso= [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | |seealso= [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | ||
}} | }} | ||
[[Category:AI]] | [[Category:AI]] | ||
Revision as of 00:29, 17 February 2021
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