setCurrentWaypoint: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
Lou Montana (talk | contribs) m (Text replacement - "\| arma1 \|1.([0-9]{2}) \|([^g]|g[^a])" to "| arma1 |1.$1 |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.50 |game4= tkoh |version4= 1.00 |game5= arma3 |version5= 0.50 |$2") |
||
Line 2: | Line 2: | ||
| arma1 | | arma1 | ||
|1.05 | |||
|1. | |game2= arma2 | ||
|version2= 1.00 | |||
|game3= arma2oa | |||
|version3= 1.50 | |||
|game4= tkoh | |||
|version4= 1.00 | |||
|game5= arma3 | |||
|version5= 0.50 | |||
|arg= local | |arg= local |
Revision as of 22:36, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Waypoints
Syntax
- Syntax:
- Syntax needed
- Parameters:
- groupName: Object or Group
- waypoint: Array - format Waypoint
- Return Value:
- Nothing
Examples
- Example 1:
_grp setCurrentWaypoint [_grp, 1];
Additional Information
- See also:
- waypointsdeleteWaypointcopyWaypointssetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed
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
- Posted on 27 Aug 2007
- Way
- (A1 1.08) Does not seem to work with Game Logic. Crashes to desktop.
- Posted on 26 Nov 2008
- Ceeeb
- Note that a waypoints number as seen in the mission editor is not the same as it is waypoint number using this command. In the mission editor, waypoint 0 refers to the first placed waypoint, whereas waypoint 0 with the setCurrentWaypoint command refers to the unit's initial position waypoint.
- Posted on 17 Jan 2010
- Galzohar
- (A2 1.05) This command may crash the game to desktop if you call it from the on act field of a waypoint that belongs to that same unit.
- Posted on 13 Aug 2012
- Igneous01
- Using this command forces the last waypoint to complete. Any code in the on Act of that waypoint will run.