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



Introduced in

Version:1.18

Description

Description:Sets the unit experience.

Syntax

Syntax:unit setExperience experience
Parameters:
  • unit: Object - Affected unit.
  • experience: Number - Experience rating (0-1).
Return Value:Nothing

Examples

Examples:
player setExperience .5

Additional Information

See also: getExperience
Multiplayer:
Problems:

Notes