Vn_ms_fnc_casAirstrike
Jump to navigation
Jump to search
← 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