Skip to content
vn_ms_fnc_casAirstrike

vn_ms_fnc_casAirstrike

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

[_targetPos,_start,_captive,_fnc_onStrike] call vn_ms_fnc_casAirstrike;

Parameters

ParameterTypeDefaultDescription
_targetPos Object, PositionobjNull Target position to bomb.
_start PositionmarkerPos "vn_cas_start" Start position of the CAS plane.
_captive Booleanfalse Should the plane be captive.
_fnc_onStrike Code{} Function called right before bombs drop

Return value

Boolean - Function reached the end

Examples

[markerPos "vn_wp07_camp"] call vn_ms_fnc_casAirstrike

Documented by Wyqer, veteran29.