Difference between revisions of "Vn ms fnc casAirstrike"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Wyqer, veteran29 |a= |e= |g1= general |d= <pre>Spawn CAS plane to bomb target position. The plane starts at marker "vn_cas_start" and despawns...") |
(No difference)
|
Revision as of 23:21, 4 May 2022
| ← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Spawn CAS plane to bomb target position. The plane starts at marker "vn_cas_start" and despawns at "vn_cas_stop" (or 0,0,0 if no marker present).
Syntax
- Syntax
- [] call vn_ms_fnc_casAirstrike;
- Parameters
- _targetPos: OBJECT, POSITION - (Optional, default
objNull) Target position to bomb. - _start: Position - (Optional, default
markerPos "vn_cas_start") Start position of the CAS plane. - _captive: Boolean - (Optional, default
false) Should the plane be captive. - _fnc_onStrike: Code - (Optional, default
{}) Function called right before bombs drop - Return value
- Boolean - Function reached the end
Examples
- Example 1
- [markerPos "vn_wp07_camp"] call vn_ms_fnc_casAirstrike