getMoraleLevel (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.18
Description
- Description:
- Returns the long-term (1 minute average) morale level of the unit [0-1].
Syntax
Examples
- Example 1:
_probSurrender = 1-(getMoraleLongTerm _unit)
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- getEndurance, getFatigue

