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, Character Fatigue (see the VBS3 User Manual)
Multiplayer:
Problems:

Notes