setWaypointCombatMode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Waypoints |GROUP1= | |gr1= Waypoints |GROUP1= | ||
| The group combat mode is switched when the waypoint becomes active. | | The group combat mode is switched when the waypoint becomes active. | ||
Line 19: | Line 17: | ||
* '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|YELLOW]]"''' (Fire at will) | * '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|YELLOW]]"''' (Fire at will) | ||
* '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|RED]]"''' (Fire at will, engage at will) |DESCRIPTION= | * '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|RED]]"''' (Fire at will, engage at will) |DESCRIPTION= | ||
| waypoint '''setWaypointCombatMode''' mode |SYNTAX= | | waypoint '''setWaypointCombatMode''' mode |SYNTAX= | ||
Line 28: | Line 25: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[_grp, 2] [[setWaypointCombatMode]] "RED";</code> |EXAMPLE1= | |x1= <code>[_grp, 2] [[setWaypointCombatMode]] "RED";</code> |EXAMPLE1= | ||
| [[Mission_Editor:_Waypoints#Combat_Mode|combat mode description]], [[ArmA:_AI_Combat_Modes|AI Combat Modes]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO= | | [[Mission_Editor:_Waypoints#Combat_Mode|combat mode description]], [[ArmA:_AI_Combat_Modes|AI Combat Modes]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO= |
Revision as of 03:56, 17 January 2021
Description
- Description:
- The group combat mode is switched when the waypoint becomes active.
Possible mode values are: - Groups:
- Waypoints
Syntax
- Syntax:
- waypoint setWaypointCombatMode mode
- Parameters:
- waypoint: Array - format Waypoint
- mode: String
- Return Value:
- Nothing
Examples
- Example 1:
[_grp, 2] setWaypointCombatMode "RED";
Additional Information
- See also:
- combat mode descriptionAI Combat ModeswaypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Waypoints
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands