setSkill array

From Bohemia Interactive Community

Jump to: navigation, search
This is a reserved keyword for future implementations. In Armed Assault it is not implemented yet.


Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

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 valueas are:

  • aimingAccuracy
  • aimingShake
  • aimingSpeed
  • endurance
  • spotDistance
  • spotTime
  • courage
  • reloadSpeed
  • commanding
  • general

Syntax

Syntax:
Vehicle setSkill ["SkillFeature",level]
Parameters:
Vehicle : Object
SkillFeature: String. As above
level: Number Range 0..1
Return Value:
Nothing

Examples

Example 1:
hero setskill ["Endurance",0.7]

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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
Personal tools
Buy ArmA now!