addWaypoint: Difference between revisions
Jump to navigation
Jump to search
Tijmenjoppe (talk | contribs) No edit summary |
(add. classification) |
||
Line 56: | Line 56: | ||
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:28, 2 December 2009
Description
- Description:
- Adds a new waypoint to a group. The waypoint is placed randomly within a circle with the given center and radius.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Array = groupName addWaypoint [center, radius]
- Parameters:
- groupName: Group
- [center, radius]: Array
- center: Position or Object
- radius: Number
- Return Value:
- Array - format Waypoint
Examples
Additional Information
- See also:
- deleteWaypointwaypoints
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 November 26, 2009
- tijmenjoppe
- If you add a waypoint to your group and then want them to start moving to that waypoint, make sure to call setWaypointType "MOVE" on your group.