skill: Difference between revisions
Jump to navigation
Jump to search
m (Arma2 and newer) |
m (formatted notes) |
||
Line 45: | Line 45: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dt class="note">Unknown | |||
<dd class="note">Skill of AI units set via the slider in unit placement screen varies from 0.2 to 1.0. <br> | |||
If superAI is enabled all units have skill of 1.0 regardless of the skill slider | If superAI is enabled all units have skill of 1.0 regardless of the skill slider | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 18:49, 26 March 2016
Description
- Description:
- Returns current level of ability of person, in range between 0 and 1. Skill 1 is highest skill.
- Groups:
- Uncategorised
Syntax
Alternative Syntax
- Syntax:
- unitName skill skillType (Arma2 and newer)
- Parameters:
- unitName: Object
- skillType: String - Possible values are:
"aimingAccuracy"
"aimingShake"
"aimingSpeed"
"endurance"
"spotDistance"
"spotTime"
"courage"
"reloadSpeed"
"commanding"
"general" - Return Value:
- Number
Examples
- Example 1:
_skill = skill unit1
- Example 2:
_myEndurance = player skill "Endurance"
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- AI
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters