setWaypointPosition: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Fred Gandt (talk | contribs) m (<pre> to <code> + "see also") |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[_grp, 2] [[setWaypointPosition]] <nowiki>[</nowiki>[[position]] [[player]], 0];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addWaypoint]], [[waypointPosition]], [[setWPPos]] |= See also | | [[addWaypoint]], [[waypointPosition]], [[setWPPos]], | ||
[[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointLoiterRadius]], [[setWaypointLoiterType]], [[setWaypointName]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]] |= See also | |||
}} | }} |
Revision as of 11:05, 12 April 2014
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, setWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointLoiterRadiussetWaypointLoiterTypesetWaypointNamesetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisible
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