VN_ms_fnc_waypoint_artillery

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

Tells the group to fire artillery barrage on waypoint/position.
File path for scripted waypoint: vn\missions_f_vietnam\functions\waypoint\fn_waypoint_Artillery.sqf

Uses VN_ms_fnc_waypoint_doArtilleryFire.

Syntax

Syntax
[group, position, owner, amount, magazine, radius] call VN_ms_fnc_waypoint_artillery
Parameters
group: Group - artillery group
position: Array - artillery strike location
owner: Object - (Optional, default leader group) will wait until owner has its simulation enabled
amount: Number - (Optional, default 5 + random 3) number of rounds to be fired by every artillery weapon
magazine: String - (Optional, default first found magazine) magazine to fire
precision: Number - (Optional, default 50) strike precision radius, in meter
Return value
Boolean - function's success

Examples

Example 1
[artiGrp, getMarkerPos "enemyBase", objNull, 50, , 125] call VN_ms_fnc_waypoint_artillery;