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]] |= Parameter 1


|p2= [center, radius]]: [[Array]] |= Parameter 2
|p2= center: [[Position]]  
|p3= radius: [[Number]] Meters


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[grp, 2] setWaypointPosition [position player, 0]</pre> |= Example 1
|x1= <pre>[_grp, 2] setWaypointPosition [position player, 0]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:03, 31 August 2007

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