setBehaviourStrong: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
|gr1= Groups
|gr1= Groups


| Sets individual unit behaviour on every unit in a group and also forces it to the unit's group. If a unit is given as argument, behaviour is set for the unit's group. Behaviour is one of:  
| Sets individual unit behaviour on every unit in a group and additionally tries to force this behaviour to the unit's group. Alternatively see [[setCombatBehaviour]]. Behaviour is one of:  
* "CARELESS"
* "CARELESS"
* "SAFE"
* "SAFE"

Revision as of 15:18, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Groups

Syntax

Syntax:
Syntax needed
Parameters:
groupName: Group or Object - unit from the group
behaviour: String
Return Value:
Return value needed

Examples

Example 1:
_group1 setBehaviourStrong "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