Difference between revisions of "VN ms fnc waypoint doArtilleryFire"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) m (Add mission parameter description) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |e= | + | |a= global |
+ | |||
+ | |e= global | ||
|g1= waypoint | |g1= waypoint | ||
− | |d= | + | |d= Tells the artillery unit to do a (90°) cone-shaped artillery barrage. |
− | |||
− | |||
− | |||
− | + | |s= [vehicle, position, rounds, magazine, radius] call [[VN_ms_fnc_waypoint_doArtilleryFire]] | |
− | |||
− | + | |p1n= vehicle | |
− | + | |p1t= object | |
− | + | |p1d= the artillery vehicle | |
− | + | |p1v= | |
− | |||
− | |||
− | + | |p2n= position | |
− | + | |p2t= array | |
− | + | |p2d= strike position | |
+ | |p2v= | ||
− | + | |p3n= rounds | |
− | + | |p3t= | |
+ | |p3d= | ||
+ | |p3v= 5 + random 3 | ||
− | if | + | |p4n= magazine |
− | + | |p4t= | |
− | + | |p4d= if not provided, the first found magazine is used | |
+ | |p4v= "" | ||
− | + | |p5n= radius | |
− | + | |p5t= number | |
− | + | |p5d= maximum cone length | |
− | + | |p5v= 55 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>[arty_1, getMarkerPos "strike", 10, nil, 100] call [[VN_ms_fnc_waypoint_doArtilleryFire]];</code> |
}} | }} |
Latest revision as of 22:31, 23 February 2021
← 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;