unitName allowFleeing courage

Operand types

unitName: Object or Group
courage: Number

Type of returned value

Description

Set group courage.
0 means maximum courage (No fleeing).
1 means least courage (Always fleeing).
Less courage means the group will start fleeing sooner.

Used In

OFP/ArmA

Example

soldierOne allowFleeing 0