BIS fnc wpSteady: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
[ | |||
player, | player, | ||
position dude, | position dude, | ||
nil, | nil, | ||
[15,1.3,30], 10, { hintC "You failed"; }, { hint "Watch out!"; }, { hint "Good"; } | [15,1.3,30], 10, { hintC "You failed"; }, { hint "Watch out!"; }, { hint "Good"; } | ||
] spawn | ] spawn BIS_fnc_wpSteady; | ||
</sqf> | |||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 22:56, 12 July 2022
Description
- Description:
- FLY STEADY custom waypoint. Keep helicopter's pitch, bank, relative velocity a relative vector in given limits
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Custom Waypoint arguments: [limitArray, failLimit, failCode, warningCode, positiveCode]
- Parameters:
- limitArray: Array - in format [deltaVelocity, deltaVector, vector]:
- failLimit: Number - what time in seconds spent outside of limits will lead to fail (default: -1)
- failCode: Code - code executed when waypoint fails - time spent outside of limits reached failLimit (default: {})
- warningCode: Code - code spawned every time vehicle is outside of limits (default: {})
- positiveCode: Code - code spawned every time vehicle is inside of limits (default: {})
- 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