setSkill

From Bohemia Interactive Community
Revision as of 21:33, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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