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): global
Effect(s): global

Description

Drop (air) ordnance from the provided vehicle.

Syntax

Syntax
[bomber, bombClasses, amount] call VN_ms_fnc_dropOrdnance
Parameters
bomber: Object - ordnance dropper
bombClasses: Array of String - (Optional, default ORDNANCES_ARRAY) array from which will be picked the ordnance class
amount: Number - (Optional, default 3) amount of dropped ordnances
Return value
Script (Handle) - the bombing script handle

Examples

Example 1
[casAirplane, nil, 30] call VN_ms_fnc_dropOrdnance;