Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

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

The command is similar to setSkill.

Syntax

Syntax:unit setUnitAbility skill
Parameters:
  • unit: Object - Affected unit.
  • skill: Number - Skill in the range of 0.2 - 1.0.
Return Value:Nothing

Examples

Examples:
player setUnitAbility 1.0

Additional Information

See also: setSkill
Multiplayer:
Problems:

Notes