waypointCompletionRadius: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= Waypoints
|gr1= Waypoints


| Gets the radius around the waypoint where the waypoint is completed.
|descr= Gets the radius around the waypoint where the waypoint is completed.


|s1= '''waypointCompletionRadius''' waypoint
|s1= [[waypointCompletionRadius]] waypoint


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]


|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_radius <nowiki>=</nowiki> [[waypointCompletionRadius]] [groupOne, 1];</code>
|x1= <sqf>_radius = waypointCompletionRadius [groupOne, 1];</sqf>


|seealso= [[waypoints]], [[setWaypointCompletionRadius]]
|seealso= [[waypoints]] [[setWaypointCompletionRadius]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 11:17, 13 May 2022

Hover & click on the images for description

Description

Description:
Gets the radius around the waypoint where the waypoint is completed.
Groups:
Waypoints

Syntax

Syntax:
waypointCompletionRadius waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
Number

Examples

Example 1:
_radius = waypointCompletionRadius [groupOne, 1];

Additional Information

See also:
waypoints setWaypointCompletionRadius

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