setUnitAbility

From Bohemia Interactive Community
Revision as of 21:19, 18 July 2006 by Suma (talk | contribs) (Clarification.)
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. This command will probably differ in some future products, but currently it does the same as setSkill.

Skill may vary from 0.2 to 1.0.


Example:

player setUnitAbility 1.0