BIS fnc wpRestricted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "{{Function" to "{{RV|type=function ")
Line 1: Line 1:
{{Function| TKOH|1.00|gr1= Waypoints| RESTRICTED [[Custom_Waypoints|custom waypoint]].
{{RV|type=function
| TKOH|1.00|gr1= Waypoints| RESTRICTED [[Custom_Waypoints|custom waypoint]].


Player must fly in given limits.
Player must fly in given limits.

Revision as of 12:41, 24 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
Parameters:
failCode: Array - flight limits in format [minAlt, maxAlt, minSpeed, maxSpeed]
minAlt: Number - minimal altitude in meters above ground level (default: -1)
maxAlt: Number - maximal altitude in meters above ground level (default: 60)
minSpeed: Number - minimal speed in km/h (default: -1)
maxSpeed: Number - maximal speed in km/h (default: -1)
maxTime: Number - how much time spent outside of the limits will lead to fail (default: -1)
failCode: Code - code executed when maxTime is reached (default: {})
visualize: Boolean - true to show hint (default: false)
warnCode: Code - code executed when unit get out of limits (default: {})
Return Value:
Return value needed

Examples

Example 1:
[player, objNull, 0, [250, -1, 150, -1], 30, {HSim_RestrictedFlight = false}, true] BIS_fnc_wpFormation;

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