Difference between revisions of "VN ms fnc waypoint artillery"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function" to "Category:TODO {{Function") |
Lou Montana (talk | contribs) (Page filling) |
||
(One intermediate revision 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= waypoint | |g1= waypoint | ||
− | |d= < | + | |d= Tells the group to fire artillery barrage on waypoint/position.<br> |
− | + | File path for scripted waypoint: <tt>vn\missions_f_vietnam\functions\waypoint\fn_waypoint_Artillery.sqf</tt> | |
− | |||
− | |||
− | + | Uses [[VN_ms_fnc_waypoint_doArtilleryFire]]. | |
− | |||
− | + | |s= [group, position, owner, amount, magazine, radius] call [[VN_ms_fnc_waypoint_artillery]] | |
− | |||
− | + | |p1n= group | |
− | + | |p1t= group | |
− | + | |p1d= artillery group | |
− | + | |p1v= | |
− | |||
− | |||
− | |||
− | + | |p2n= position | |
− | + | |p2t= array | |
− | + | |p2d= artillery strike location | |
− | + | |p2v= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p3n= owner | |
− | + | |p3t= object | |
− | + | |p3d= will wait until ''owner'' has its simulation enabled | |
− | + | |p3v= {{Biki|leader}} ''group'' | |
− | } | ||
− | + | |p4n= amount | |
− | + | |p4t= number | |
− | + | |p4d= number of rounds to be fired by ''every'' artillery weapon | |
− | + | |p4v= 5 + random 3 | |
− | + | |p5n= magazine | |
− | + | |p5t= string | |
+ | |p5d= magazine to fire | ||
+ | |p5v= first found magazine | ||
− | | | + | |p6n= precision |
− | + | |p6t= number | |
− | + | |p6d= strike precision radius, in meter | |
− | + | |p6v= 50 | |
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>[artiGrp, getMarkerPos "enemyBase", objNull, 50, , 125] call [[VN_ms_fnc_waypoint_artillery]];</code> |
}} | }} |
Latest revision as of 18:35, 22 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
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;