skill: 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 | ||
| ofpr | | ofpr | ||
|1.75 | |1.75 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Returns current level of ability of a unit, in range between 0 and 1, 1 being the highest level of skill. | | Returns current level of ability of a unit, in range between 0 and 1, 1 being the highest level of skill. | ||
| '''skill''' unitName | | '''skill''' unitName | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
| [[Number]] | | [[Number]] | ||
|s2= unitName [[skill]] skillName (since {{GVI|arma1|1.00}} or {{GVI|arma2|1.00}}) | |s2= unitName [[skill]] skillName (since {{GVI|arma1|1.00}} or {{GVI|arma2|1.00}}) | ||
|p21= unitName: [[Object]] |PARAMETER21= | |p21= unitName: [[Object]] |PARAMETER21= | ||
Line 29: | Line 29: | ||
* reloadSpeed | * reloadSpeed | ||
* commanding | * commanding | ||
* general | * general | ||
|r2= [[Number]] |RETURNVALUE2= | |r2= [[Number]] |RETURNVALUE2= | ||
|x1= <code>_skill = [[skill]] unit1;</code> | |x1= <code>_skill = [[skill]] unit1;</code> | ||
|x2= <code>_myCourage = [[player]] [[skill]] "courage"</code> | |x2= <code>_myCourage = [[player]] [[skill]] "courage"</code> | ||
| [[skillFinal]], [[setSkill]], [[setUnitAbility]], [[Arma 3 AI Skill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | | [[skillFinal]], [[setSkill]], [[setUnitAbility]], [[Arma 3 AI Skill]], [[ArmA: AI Combat Modes|AI Combat Modes]] | ||
}} | }} |
Revision as of 11:26, 18 January 2021
Description
- Description:
- Returns current level of ability of a unit, in range between 0 and 1, 1 being the highest level of skill.
- Groups:
- Object Manipulation
Syntax
Alternative Syntax
- Syntax:
- unitName skill skillName (since 1.00 or 1.00)
- Parameters:
- unitName: Object
- skillName: String - Possible values are:
- aimingAccuracy
- aimingShake
- aimingSpeed
- endurance
- spotDistance
- spotTime
- courage
- reloadSpeed
- commanding
- general
- Return Value:
- Number
Examples
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
- Unknown
- Skill of AI units set via the slider in unit placement screen varies from 0.2 to 1.0.
If superAI is enabled all units have skill of 1.0 regardless of the skill slider
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Object Manipulation
- AI
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands