setWaypointPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Waypoint]] '''setWaypointPosition''' [center, radius] |= Syntax
| waypoint '''setWaypointPosition''' [center, radius] |= Syntax


|p1= [[Waypoint]] : [[Array]] |= Parameter 1
|p1= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
 
|p2= [center, radius]: [[Array]] |= Parameter 2
|p2= center: [[Position]]  
|p3= center: [[Array]] - format [[Position]] |= Parameter 3
|p3= radius: [[Number]] Meters
|p4= radius: [[Number]] meters |= Parameter 4


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 22:18, 25 January 2009

-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:
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