Difference between revisions of "VN ms fnc dropOrdnance"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |e=" to " |a= |e=") |
Lou Montana (talk | contribs) (Page filling) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= global |
− | |e= | + | |e= global |
|g1= general | |g1= general | ||
− | |d= | + | |d= Drop (air) ordnance from the provided vehicle. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |s= [bomber, bombClasses, amount] call [[VN_ms_fnc_dropOrdnance]] | |
− | |||
− | + | |p1n= bomber | |
− | + | |p1t= object | |
− | + | |p1d= ordnance dropper | |
− | + | |p1v= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p2n= bombClasses | |
− | + | |p2t= {{Biki|Array}} of {{Biki|String}} | |
− | + | |p2d= array from which will be picked the ordnance class | |
− | + | |p2v= ORDNANCES_ARRAY | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | + | |p3n= amount |
− | | | + | |p3t= number |
− | | | + | |p3d= amount of dropped ordnances |
− | | | + | |p3v= 3 |
− | |r1t= | + | |r1t= handle |
− | |r1d= | + | |r1d= the bombing script handle |
− | |x1= <code> | + | |x1= <code>[casAirplane, nil, 30] call [[VN_ms_fnc_dropOrdnance]];</code> |
}} | }} |
Latest revision as of 22:14, 23 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
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;