setUnitAbility: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''Description:'''
'''Description:'''


Sets skill of given unit. Skill may vary from 0.2 to 1.0.  
Sets skill of given unit.
 
Skill may vary from 0.2 to 1.0.  
 


'''Example:'''
'''Example:'''


player '''setUnitSkill''' 1.0
player '''setUnitSkill''' 1.0

Revision as of 22:28, 4 July 2006


unit setUnitAbility skill


Operand types:

unit: Object

skill: Number

Type of returned value:

Nothing

Compatibility:

Version 2.33 required.

Description:

Sets skill of given unit.

Skill may vary from 0.2 to 1.0.


Example:

player setUnitSkill 1.0