combatBehaviour

From Bohemia Interactive Community
Revision as of 16:09, 7 February 2021 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |Arma3dev |2.03 |arg= global |eff= |gr1= Object Manipulation |gr2= Groups | Returns combat behaviour of unit or group. To set unit or group behaviour s...")
(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:
Object ManipulationGroups

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - AI unit
Return Value:
Return value needed

Alternative Syntax

Syntax:
combatBehaviour group
Parameters:
group: Group - AI group
Return Value:
String - group behaviour, see description

Examples

Example 1:
unit1 setCombatBehaviour "CARELESS"; combatBehaviour unit1; //"CARELESS"
Example 2:
group unit1 setCombatBehaviour "SAFE"; combatBehaviour group unit1; //"SAFE"

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