Difference between revisions of "setSkill"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 3: Line 3:
 
[[Category:Scripting Commands ArmA|S]]
 
[[Category:Scripting Commands ArmA|S]]
  
back to [[Scripting_Reference#S|COMREF]]
 
  
 
<h2 style="color:#000066">'''''vehicle'' setSkill ''skill'''''</h2>
 
<h2 style="color:#000066">'''''vehicle'' setSkill ''skill'''''</h2>

Revision as of 10:42, 23 April 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