Difference between revisions of "Vn ms fnc dropOrdnance"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author=Wyqer, veteran29 |a= |e= |g1= general |d= <pre>Drop ordnance from vehicle position.</pre> |s= [_vehicle,_ordnances,_amount] call vn_ms_fnc_d...")
 
(No difference)

Latest revision as of 23:59, 4 May 2022

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

Description

Drop ordnance from vehicle position.

Syntax

Syntax
[_vehicle,_ordnances,_amount] call vn_ms_fnc_dropOrdnance;
Parameters
_vehicle: Object - (Optional, default objNull) Vehicle to drop ordnance from.
_ordnances: Array - (Optional, default ORDNANCES_RANDOM) Classes of ordnance to drop.
_amount: Number - (Optional, default 3) Amount of ordnances to drop (min 1).
Return value
Boolean - Ordnance drop script.

Examples

Example 1
[vehicle this] call vn_ms_fnc_dropOrdnance