BIS fnc wpCheckpoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Some wiki formatting)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| TKOH |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|gr1= Waypoints
____________________________________________________________________________________________


| CHECKPOINT [[Custom_Waypoints|custom waypoint]].
|descr= 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).
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).
|DESCRIPTION=
____________________________________________________________________________________________


| [[Custom_Waypoints#Function|arguments]]: [posLimit] |SYNTAX=
|exec= spawn


|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1) |=
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [posLimit]


| [[Nothing]] |RETURNVALUE=
|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1)
____________________________________________________________________________________________
 
|x1= <code><nowiki>[</nowiki>[[player]],[[position]] dude,10,2] [[spawn]] BIS_fnc_wpCheckpoint;</code> |EXAMPLE1=


____________________________________________________________________________________________
|r1= [[Nothing]]
| exec=spawn |=


| |SEEALSO=
|x1= <sqf>[player, getPosASL dude, 10, 2] spawn BIS_fnc_wpCheckpoint;</sqf>


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Take_On_Helicopters:_Functions|wpCheckpoint]]
[[Category:Function Group: Waypoints|wpCheckpoint]]

Latest revision as of 12:28, 1 July 2022

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:
Custom Waypoint 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, getPosASL 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