Difference between revisions of "VN ms fnc waypoint doArtilleryFire"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Add mission parameter description)
 
Line 22: Line 22:
 
|p2n= position
 
|p2n= position
 
|p2t= array
 
|p2t= array
|p2d=  
+
|p2d= strike position
 
|p2v=
 
|p2v=
  

Latest revision as of 22:31, 23 February 2021

← 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;