Vn_ms_fnc_dropOrdnance

From Savage Game Design Wiki
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