VN_fnc_artillery_plane
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Spawns a plane with predetermined settings from the artillery module GUI.
Syntax
- Syntax
- [] call VN_fnc_artillery_plane;
- Parameters
- _i: Number - Index of this plane's run
- _planeCfg: Config - Plane config
- _vehicle_class: String - Plane classname
- _start_pos: Array - End position for the run
- _end_pos: Array - Index of this plane's run
- _amount_index: Number - Number of total runs
- _magazine: Array - Array of magazines which will be fired from the vehicle.
- _unit: Object - Unit that called the artillery.
- _illumination: Number - Is the artillery run an illumination run
- Return value
- Boolean - Function reached the end.
Examples
- Example 1
[0, configfile >> "cfgvehicles" >> "aircraft_class", "aircraft_class", [0,0,0], [100,100,0], 0, ["rockets"], player, 0] call vn_fnc_artillery_plane