BIS fnc aircraftCatapultLaunch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (further formatting)
m (Some wiki formatting)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|gr1= Aircraft Carrier
|gr1= Aircraft Carrier


|descr= Accelerates an aircraft off the aircraft carrier. For this to work the aircraft must be properly configured in config.
|descr= Accelerates an aircraft off the aircraft carrier. For this to work the aircraft must be properly configured in config. See [[Arma 3: Aircraft Systems]] for information about needed config changes.


|s1= [aircraft, direction] call [[BIS_fnc_aircraftCatapultLaunch]]
|s1= [aircraft, direction] call [[BIS_fnc_aircraftCatapultLaunch]]
Line 14: Line 14:
|p1= aircraft: [[Object]] - the aircraft that should be launched
|p1= aircraft: [[Object]] - the aircraft that should be launched


|p2= direction: [[Number]] - (optional, default {{ic|[[direction]] aircraft}}) direction to launch the aircraft off to
|p2= direction: [[Number]] - (optional, default <sqf inline>direction _aircraft</sqf>) direction to launch the aircraft off to


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_plane] [[call]] [[BIS_fnc_aircraftCatapultLaunch]];</code>
|x1= <sqf>[_plane] call BIS_fnc_aircraftCatapultLaunch;</sqf>


|seealso= [[BIS_fnc_aircraftTailhook]]
|seealso= [[BIS_fnc_aircraftTailhook]]
}}
}}

Latest revision as of 17:50, 27 July 2022

Hover & click on the images for description

Description

Description:
Accelerates an aircraft off the aircraft carrier. For this to work the aircraft must be properly configured in config. See Arma 3: Aircraft Systems for information about needed config changes.
Execution:
call
Groups:
Aircraft Carrier

Syntax

Syntax:
[aircraft, direction] call BIS_fnc_aircraftCatapultLaunch
Parameters:
aircraft: Object - the aircraft that should be launched
direction: Number - (optional, default direction _aircraft) direction to launch the aircraft off to
Return Value:
Nothing

Examples

Example 1:
[_plane] call BIS_fnc_aircraftCatapultLaunch;

Additional Information

See also:
BIS_fnc_aircraftTailhook

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