BIS fnc wpCheckpoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= tkoh |version1= 1.00 |game2= arma3 |version2= 0.50 " to " |game1= tkoh |version1= 1.00 ")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|gr1= Waypoints
|gr1= Waypoints


|descr= CHECKPOINT [[Custom_Waypoints|custom waypoint]].
|descr= CHECKPOINT [[Custom Waypoints|custom waypoint]].


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).
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
|exec= spawn


|s1= [[Custom_Waypoints#Function|arguments]]: [posLimit]
|s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [posLimit]


|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1)
|p1= posLimit: [[Code]] - time in seconds unit is required to stay withing waypoint completion radius (default: -1)
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso=
|seealso=
}}
}}

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