setSkill

From Bohemia Interactive Community
Revision as of 23:02, 1 May 2006 by THobson (talk | contribs)
Jump to navigation Jump to search


vehicle setSkill skill


Operand types:

vehicle: Object

skill: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.75

Description:

Sets ability level of person (commander unit).

Value of skill may vary from 0 to 1.


Example:

hero setskill 1


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