addToFatigue (VBS2)

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Virtual Battlespace 2 version 1.18

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 2
Version:
1.18

Description

Description:
Adds the passed value to the unit's total fatigue (fatigue is between 0=rested and 1=tired).

Syntax

Syntax:
unit addToFatigue change
Parameters:
unit: Object -
change: Number -
Return Value:
Nothing

Examples

Example 1:
player addToFatigue -0.15

Additional Information

Multiplayer:
Behaviour unknown.
See also:
addToAnaerobicFatigue, addToAerobicFatigue, addToMorale

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!