setWaypointCombatMode: Difference between revisions
Jump to navigation
Jump to search
m (duplicated) |
m (template:command argument fix) |
||
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) |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| waypoint '''setWaypointCombatMode''' mode |= | | waypoint '''setWaypointCombatMode''' mode |SYNTAX= | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] |= | |p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1= | ||
|p2= mode: [[String]] |= | |p2= mode: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[_grp, 2] [[setWaypointCombatMode]] "RED";</code> |= | |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]] |= | | [[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 14:48, 7 April 2019
Description
- Description:
- The group combat mode is switched when the waypoint becomes active.
Possible mode values are: - Groups:
- Uncategorised
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