waypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (alternate syntax)
Line 12: Line 12:
| [[Waypoint]]List <nowiki>=</nowiki> '''waypoints''' [[Object#Unit|Unit]]|= Syntax
| [[Waypoint]]List <nowiki>=</nowiki> '''waypoints''' [[Object#Unit|Unit]]|= Syntax


|p1= [[Object#Unit|Unit]]: [[Object]] |= Parameter 1
|p1= [[Object#Unit|Unit]]: [[Object]] or [[Group]] |= Parameter 1


| [[Array]] of [[Waypoint|Waypoints]] |= Return value
| [[Array]] of [[Waypoint|Waypoints]] |= Return value

Revision as of 12:38, 26 November 2008

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

Description

Description:
Returns an array of waypoints for the specified unit.
Groups:
Uncategorised

Syntax

Syntax:
WaypointList = waypoints Unit
Parameters:
Unit: Object or Group
Return Value:
Array of Waypoints

Examples

Example 1:
waypoints player
Example 2:
_wPosArray = waypoints group10
could return [[EAST 1-1-A,0],[EAST 1-1-A,1],[EAST 1-1-A,2]]

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

Bottom Section