setWaypointCombatMode: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| The group combat mode is switched when the waypoint becomes active. | | The group combat mode is switched when the waypoint becomes active. | ||
Line 16: | Line 16: | ||
* '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|WHITE]]"''' (Hold fire, engage at will) | * '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|WHITE]]"''' (Hold fire, engage at will) | ||
* '''"[[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) | * '''"[[ArmA:_AI_Combat_Modes#Engagement_rules|RED]]"''' (Fire at will, engage at will) | ||
| waypoint '''setWaypointCombatMode''' mode | | waypoint '''setWaypointCombatMode''' mode | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] | ||
|p2= mode: [[String]] | |p2= mode: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[_grp, 2] [[setWaypointCombatMode]] "RED";</code> | |x1= <code>[_grp, 2] [[setWaypointCombatMode]] "RED";</code> | ||
| [[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]] | | [[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]] | ||
}} | }} |
Revision as of 11:27, 18 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
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