skillFinal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.08 | |||
| | |gr1= AI Behaviour | ||
| | |descr= Returns final, recalculated sub skill value of given unit. (with regard to AI Level coefficient (Difficulty settings)). | ||
| | |mp= Since {{GVI|arma3|1.40}} the command works in multiplayer. | ||
| unit [[skillFinal]] skillName | |s1= unit [[skillFinal]] skillName | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[ | |p2= skillName: [[String]] - see [[AI Sub-skills|sub-skill]]. Possible values are: | ||
* "aimingAccuracy" | |||
* "aimingShake" | |||
* "aimingSpeed" | |||
* "endurance" (Has no effect in {{arma3}}) | |||
* "spotDistance" | |||
* "spotTime" | |||
* "courage" | |||
* "reloadSpeed" | |||
* "commanding" | |||
* "general" | |||
| | |r1= [[Number]] | ||
|x1= <sqf>_unitTrueCourage = unit1 skillFinal "courage";</sqf> | |||
< | |||
|seealso= [[skill]] [[setSkill]] [[setUnitAbility]] [[CfgAISkill]] [[Combat Modes]] | |||
}} | |||
[[Category:AI]] | [[Category:AI]] | ||
Latest revision as of 15:49, 8 November 2023
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:
- 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:
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