setWaypointPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
Line 40: Line 40:
[[Category:Command_Group:_Waypoints|SETWAYPOINTPOSITION]]
[[Category:Command_Group:_Waypoints|SETWAYPOINTPOSITION]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 11:36, 2 November 2011

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

Description

Description:
Moves the waypoint to a random position in a circle with the given center and radius.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointPosition [center, radius]
Parameters:
waypoint: Array - format Waypoint
[center, radius]: Array
center: Array - format Position
radius: Number meters
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointPosition [position player, 0]

Additional Information

See also:
addWaypointwaypointPositionsetWPPos

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