Vn_ms_fnc_dropOrdnance

From Savage Game Design Wiki
Revision as of 23:59, 4 May 2022 by Slow (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← 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