BIS fnc wpSteady: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " |game1= tkoh |version1= 1.00 |game2= arma3 |version2= 0.50 " to " |game1= tkoh |version1= 1.00 ")
Line 3: Line 3:
|game1= tkoh
|game1= tkoh
|version1= 1.00
|version1= 1.00
|game2= arma3
|version2= 0.50


|gr1= Waypoints
|gr1= Waypoints

Revision as of 18:50, 14 June 2021

Hover & click on the images for description

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:
arguments: [limitArray, failLimit, failCode, warningCode, positiveCode]
Parameters:
limitArray: Array - in format [deltaVelocity, deltaVector, vector]:
  • deltaVelocity: Number - how much can velocity change (default: 20)
  • deltaVector: Number - how much can vector direction change (default: 1.5)
  • vector: Number - absolute vector limits for pitch and bank in degrees (default: 45)
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:
[ player, position dude, nil, [15,1.3,30], 10, { hintC "You failed"; }, { hint "Watch out!"; }, { hint "Good"; } ] spawn BIS_fnc_wpSteady;

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