setCurrentWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (missing cats.)
m (added note, command waypoint array number != mission editor waypoint number)
Line 25: Line 25:


}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate"></dd>
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''</dt>
<dd class="note">
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 units initial position waypoint.</dd>
<!-- Note Section END -->
</dl>


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]

Revision as of 12:46, 26 March 2007

-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

Description

Description:
Sets the currently active waypoint for a group.
Groups:
Uncategorised

Syntax

Syntax:
group setCurrentWaypoint waypoint
Parameters:
group: Group
waypoint: Array
Return Value:
Nothing

Examples

Example 1:
grp setCurrentWaypoint [grp, 1]

Additional Information

See also:
See also needed

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

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 units initial position waypoint.