setBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed syntax)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set group behaviour mode. Behaviour is one of:  
| Set group/unit behaviour mode. Behaviour is one of:  


*"CARELESS"
*"CARELESS"
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


| group '''setBehaviour''' behaviour |= Syntax
| UnitOrGroup '''setBehaviour''' "behaviour" |= Syntax


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|p1= UnitOrGroup : [[Object#Unit|Unit]] or [[Group]] |= Parameter 1


|p2= behaviour: [[String]] |= Parameter 2
|p2= behaviour: [[String]] |= Parameter 2
Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>group1 setBehaviour "safe"</pre> |= Example 1
|x1= <pre>_group1 setBehaviour "safe"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 04:25, 30 August 2007

Hover & click on the images for description

Description

Description:
Set group/unit behaviour mode. Behaviour is one of:
  • "CARELESS"
  • "SAFE"
  • "AWARE"
  • "COMBAT"
  • "STEALTH".
Groups:
Uncategorised

Syntax

Syntax:
UnitOrGroup setBehaviour "behaviour"
Parameters:
UnitOrGroup : Unit or Group
behaviour: String
Return Value:
Nothing

Examples

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

Notes

Bottom Section