setBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETBEHAVIOUR]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETBEHAVIOUR]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETBEHAVIOUR]]
[[Category:Scripting Commands ArmA|SETBEHAVIOUR]]


| ofp |= Game name


<h2 style="color:#000066">'''''group'' setBehaviour ''behaviour'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set group behaviour mode. Behaviour is one of: |= Description
____________________________________________________________________________________________


'''Operand types:'''
| group '''setBehaviour''' behaviour |= Syntax


'''group:''' [[Object]] or [[Group]]
|p1= group: [[Object]] |= Parameter 1


'''behaviour:''' [[String]]
|p2= behaviour: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>group1 setBehaviour "safe"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set group '''behaviour''' mode.
<h3 style="display:none">Notes</h3>
Behaviour is one of:
<dl class="command_description">
<!-- Note Section BEGIN -->


* '''"CARELESS"'''
<!-- Note Section END -->
* '''"SAFE"'''
</dl>
* '''"AWARE"'''
* '''"COMBAT"'''
* '''"STEALTH"'''


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SETBEHAVIOUR]]
 
[[Category:Scripting Commands OFP 1.96|SETBEHAVIOUR]]
group1 '''setBehaviour''' '''"safe"'''
[[Category:Scripting Commands OFP 1.46|SETBEHAVIOUR]]
[[Category:Scripting Commands ArmA|SETBEHAVIOUR]]

Revision as of 23:04, 1 August 2006

Hover & click on the images for description

Description

Description:
Set group behaviour mode. Behaviour is one of:
Groups:
Uncategorised

Syntax

Syntax:
group setBehaviour behaviour
Parameters:
group: Object
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