skill: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
Line 42: Line 42:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dt class="note">Unknown
<dt class="note">Unknown</dt>
<dd class="note">Skill of AI units set via the slider in unit placement screen varies from 0.2 to 1.0. <br>
<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

Revision as of 02:29, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object
Return Value:
Return value needed

Alternative Syntax

Syntax:
unitName skill skillName (since Logo A1 black.png1.00 or Logo A2.png1.00)
Parameters:
unitName: Object
skillName: 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:
_myCourage = player skill "courage"

Additional Information

See also:
See also needed

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
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