BIS fnc wpCheckpoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| TKOH|1.00|gr1= Waypoints| CHECKPOINT [[Custom_Waypoints|custom waypoint]].


Player has to reach waypoint position with certain precisoon (as opposed to normal [[Mission_Editor:_Waypoints#Move|Move]] waypoint, which became completed in around 500m).
|game1= tkoh
| [[Custom_Waypoints#Function|arguments]]: [posLimit]|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1)|r1= [[Nothing]]
|version1= 1.00


|x1= <code><nowiki>[</nowiki>[[player]],[[position]] dude,10,2] [[spawn]] BIS_fnc_wpCheckpoint;</code>| exec=spawn
|game2= arma3
|version2= 0.50


|}}
|gr1= Waypoints


[[Category:Take_On_Helicopters:_Functions|wpCheckpoint]]
|descr= CHECKPOINT [[Custom_Waypoints|custom waypoint]].
[[Category:Function Group: Waypoints|wpCheckpoint]]
 
Player has to reach waypoint position with certain precision (as opposed to normal [[Mission_Editor:_Waypoints#Move|Move]] waypoint, which became completed in around 500m).
 
|exec= spawn
 
|s1= [[Custom_Waypoints#Function|arguments]]: [posLimit]
 
|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1)
 
|r1= [[Nothing]]
 
|x1= <code>[<nowiki/>[[player]],[[position]] dude,10,2] [[spawn]] BIS_fnc_wpCheckpoint;</code>
 
|seealso=
}}

Revision as of 04:33, 13 June 2021

Hover & click on the images for description

Description

Description:
CHECKPOINT custom waypoint. Player has to reach waypoint position with certain precision (as opposed to normal Move waypoint, which became completed in around 500m).
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
arguments: [posLimit]
Parameters:
posLimit: Code - time in seconds unit is required to stay withing waypoint completion radius (default: -1)
Return Value:
Nothing

Examples

Example 1:
[player,position dude,10,2] spawn BIS_fnc_wpCheckpoint;

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