Vn_ms_fnc_casAirstrike

From Savage Game Design Wiki
Revision as of 23:21, 4 May 2022 by Slow (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

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