VN_ms_fnc_waypoint_doArtilleryFire
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Tells the artillery unit to do a (90°) cone-shaped artillery barrage.
Syntax
- Syntax
- [vehicle, position, rounds, magazine, radius] call VN_ms_fnc_waypoint_doArtilleryFire
- Parameters
- vehicle: Object - the artillery vehicle
- position: Array - strike position
- rounds - (Optional, default
5 + random 3
) - magazine - (Optional, default
""
) if not provided, the first found magazine is used - radius: Number - (Optional, default
55
) maximum cone length - Return value
- Boolean - function's success
Examples
- Example 1
[arty_1, getMarkerPos "strike", 10, nil, 100] call VN_ms_fnc_waypoint_doArtilleryFire;