Difference between revisions of "setSkill"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 33: Line 33:
  
  
'''Comments:'''<br>
+
'''Comments:'''
 +
 
 
Approximate ranges are:<br>
 
Approximate ranges are:<br>
 +
 
'''Novice'''    < 0.25<br>
 
'''Novice'''    < 0.25<br>
 
'''Rookie'''    >= 0.25 and <= 0.45<br>
 
'''Rookie'''    >= 0.25 and <= 0.45<br>

Revision as of 00:22, 2 May 2006


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