setCombatMode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Set group combat mode (engagement rules). | |||
Mode may be one of: | |||
* '''"BLUE"''' (Never fire) | |||
* '''"GREEN"''' (Hold fire - defend only) | |||
* '''"WHITE"''' (Hold fire, engage at will) | |||
* '''"YELLOW"''' (Fire at will) | |||
* '''"RED"''' (Fire at will, engage at will) | |||
|= Description | |||
____________________________________________________________________________________________ | |||
''' | | group '''setCombatMode''' mode |= Syntax | ||
|p1= group: [[Object]] |= Parameter 1 | |||
|p2= mode: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>group1 setCombatMode "BLUE"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETCOMBATMODE]] | |||
[[Category:Scripting Commands OFP 1.96|SETCOMBATMODE]] | |||
[[Category:Scripting Commands OFP 1.46|SETCOMBATMODE]] | |||
[[Category:Scripting Commands ArmA|SETCOMBATMODE]] | |||
Revision as of 23:09, 1 August 2006
Description
- Description:
- Set group combat mode (engagement rules).
Mode may be one of:
- "BLUE" (Never fire)
- "GREEN" (Hold fire - defend only)
- "WHITE" (Hold fire, engage at will)
- "YELLOW" (Fire at will)
- "RED" (Fire at will, engage at will)
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
group1 setCombatMode "BLUE"
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