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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »



Introduced in

Version:1.18

Description

Description:Sets the unit endurance.

Syntax

Syntax:unit setEndurance endurance
Parameters:
  • unit: Object - Affected unit.
  • endurance: Number - Endurance rating, between 0 (lowest) - 1 (highest).
Return Value:Nothing

Examples

Examples:
player setEndurance .95;

Additional Information

See also: getEndurance, Unit fatigue
Multiplayer:
Problems:

Notes








  • No labels