setWaypointCombatMode: 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|SETWAYPOINTCOMBATMODE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTCOMBATMODE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTCOMBATMODE]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint'' setWaypointCombatMode ''mode'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| The group combat mode is switched when the waypoint becomes active. Possible values are: "NO CHANGE", "BLUE", "GREEN", "WHITE", "YELLOW" and "RED". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointCombatMode''' mode |= Syntax


'''waypoint:''' [[Array]]
|p1= waypoint: [[Array]] |= Parameter 1


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointCombatMode "RED"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


The group combat mode is switched when the waypoint becomes active.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTCOMBATMODE]]
Possible values are: "NO CHANGE", "BLUE", "GREEN", "WHITE", "YELLOW" and "RED".
[[Category:Scripting Commands OFP Elite |SETWAYPOINTCOMBATMODE]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTCOMBATMODE]]
 
'''Example:'''
 
[grp, 2] '''setWaypointCombatMode''' "RED"

Revision as of 00:38, 2 August 2006

Hover & click on the images for description

Description

Description:
The group combat mode is switched when the waypoint becomes active. Possible values are: "NO CHANGE", "BLUE", "GREEN", "WHITE", "YELLOW" and "RED".
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointCombatMode mode
Parameters:
waypoint: Array
mode: String
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointCombatMode "RED"

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