setCombatBehaviour: Difference between revisions
Jump to navigation
Jump to search
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...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
|eff= global | |eff= global | ||
|gr1= Groups | |gr1= Object Manipulation | ||
|gr2= Groups | |||
| Sets unit or group behaviour. To retrieve unit or group behaviour see [[combatBehaviour]]. The behaviour is one of: | | Sets unit or group behaviour. To retrieve unit or group behaviour see [[combatBehaviour]]. The behaviour is one of: |
Revision as of 15:10, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationGroups
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