setCurrentWaypoint: Difference between revisions
Jump to navigation
Jump to search
m (gramma) |
m (see also & note modified (removed vague expression)) |
||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_grp [[setCurrentWaypoint]] [_grp, 1];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]] |= See also | | [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[setWaypointSpeed]] |= See also | ||
}} | }} | ||
Line 33: | Line 33: | ||
<dt class="note">[[User:Way|Way]] | <dt class="note">[[User:Way|Way]] | ||
<dd class="note"> | <dd class="note"> | ||
Does not seem to work with Game Logic | (A1 1.08) Does not seem to work with Game Logic. Crashes to desktop. | ||
<dd class="notedate">Posted on 26 Nov 2008 | <dd class="notedate">Posted on 26 Nov 2008 | ||
Line 43: | Line 43: | ||
<dt class="note">[[User:Galzohar|Galzohar]] | <dt class="note">[[User:Galzohar|Galzohar]] | ||
<dd class="note"> | <dd class="note"> | ||
This command | (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. | ||
<dd class="notedate">Posted on 13 Aug 2012 | <dd class="notedate">Posted on 13 Aug 2012 |
Revision as of 07:41, 3 August 2014
Description
- Description:
- Sets the currently active waypoint for a group.
- Groups:
- Uncategorised
Syntax
- Syntax:
- groupName setCurrentWaypoint waypoint
- Parameters:
- groupName: Object or Group
- waypoint: Array - format Waypoint
- Return Value:
- Nothing
Examples
- Example 1:
_grp setCurrentWaypoint [_grp, 1];
Additional Information
- See also:
- waypointsdeleteWaypointcopyWaypointssetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeedsetWaypointSpeed
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
- 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's 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.