BIS fnc wpSteady: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=") |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 37: | Line 37: | ||
|exec=spawn | |exec=spawn | ||
}} | }} | ||
[[Category:Take_On_Helicopters:_Functions|wpSteady]] | [[Category:Take_On_Helicopters:_Functions|wpSteady]] | ||
[[Category:Function Group: Waypoints|wpSteady]] | [[Category:Function Group: Waypoints|wpSteady]] |
Revision as of 09:18, 11 June 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Syntax needed
- 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