setUnitAbility

From Bohemia Interactive Community
Revision as of 22:28, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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