VN_ms_fnc_waypoint_doArtilleryFire

From Savage Game Design Wiki
Revision as of 22:31, 23 February 2021 by Lou Montana (talk | contribs) (Add mission parameter description)
(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): global
Effect(s): global

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;