setCombatBehaviour

From Bohemia Interactive Community
Revision as of 14:58, 7 February 2021 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command | Arma3dev |2.03 |arg= local |eff= global |gr1= Groups | Sets unit or group behaviour. To retrieve unit or group behaviour see combatBehaviour. The...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Groups:
Groups

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - AI unit
behaviour: String - see description
Return Value:
Return value needed

Alternative Syntax

Syntax:
group setCombatBehaviour behaviour
Parameters:
group: Group - AI group
behaviour: String - see description
Return Value:
Nothing

Examples

Example 1:
unit1 setCombatBehaviour "SAFE";
Example 2:
group1 setCombatBehaviour "CARELESS";

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note