setSkill array
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Sets ability level of person (commander unit). Value of skill may vary from 0 to 1.
Possible values are:
- aimingAccuracy
- aimingShake
- aimingSpeed
- endurance
- spotDistance
- spotTime
- courage
- reloadSpeed
- commanding
- general
Syntax
- Syntax:
- unitName setSkill [type, skill]
- Parameters:
- unitName: Object
- [type, skill]: Array
- type: String As above
- skill: Number Range 0..1
- Return Value:
- Nothing
Examples
- Example 1:
hero setskill ["Endurance",0.7]
Additional Information
- Multiplayer:
- -
Notes
Notes
Notes
Bottom Section
Old Notes (temporary):
Approximate ranges are:
- Novice < 0.25
- Rookie >= 0.25 and <= 0.45
- Recruit > 0.45 and <= 0.65
- Veteran > 0.65 and <= 0.85
- Expert > 0.85
