BIS fnc wpRestricted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 30: | Line 30: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[player, objNull, 0, [250, -1, 150, -1], 30, { HSim_RestrictedFlight = false }, true] spawn | |x1= <code>[player, objNull, 0, [250, -1, 150, -1], 30, { HSim_RestrictedFlight = false }, true] spawn BIS_fnc_wpFormation;</code> | ||
|seealso= | |seealso= | ||
}} | }} |
Revision as of 16:56, 13 July 2022
Description
- Description:
- RESTRICTED custom waypoint. Player must fly in given limits.
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Custom Waypoint arguments: [limits, maxTime, failCode, visualize, warnCode]
- Parameters:
- failCode: Array - flight limits in format [minAlt, maxAlt, minSpeed, maxSpeed]:
- 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:
- Nothing
Examples
- Example 1:
[player, objNull, 0, [250, -1, 150, -1], 30, { HSim_RestrictedFlight = false }, true] spawn 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