BIS fnc wpAerobatics: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|exec= spawn | |exec= spawn | ||
|s1= [[ | |s1= [[Custom Waypoints#Function|Custom Waypoint arguments]]: [visuals, detectionCode, completionCode] | ||
|p1= visuals: [[Boolean]] - should [[BIS_fnc_dynamicText|dynamic text]] appear on startup and completion | |p1= visuals: [[Boolean]] - should [[BIS_fnc_dynamicText|dynamic text]] appear on startup and completion | ||
Line 24: | Line 24: | ||
|p3= completionCode: [[Code]] - code executed on manoeuvre's success (under 15s) | |p3= completionCode: [[Code]] - code executed on manoeuvre's success (under 15s) | ||
< | <sqf> | ||
_helicopter = | private ["_helicopter", "_manoeuvreName"]; | ||
_manoeuvreName = | _helicopter = _this select 0; | ||
</ | _manoeuvreName = _this select 1; | ||
</sqf> | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[player, { hint "OK, start!" }, { hint "success!" }] spawn BIS_fnc_wpAerobatics;</sqf> | ||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 22:30, 12 July 2022
Description
- Description:
- AEROBATICS custom waypoint.
Player must perform all the required manoeuvres:
- "hover_turn_360"
- "hover_bow"
- "fast_turn_180"
- "backwards"
- "strafe"
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Custom Waypoint arguments: [visuals, detectionCode, completionCode]
- Parameters:
- visuals: Boolean - should dynamic text appear on startup and completion
- detectionCode: Code - code executed once the helicopter is ready (speed < 10 km/h)
- completionCode: Code - code executed on manoeuvre's success (under 15s)
- Return Value:
- Nothing
Examples
- Example 1:
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