Vn_ms_fnc_tracker_attackArea

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by yqer, veteran29
Argument(s): n/a
Effect(s): unknown

Description

Spawn waves attacking area.

Syntax

Syntax
[_target,_spawn,_count,_delay,_condition,_ao,_side,_onSpawned,_completionRadius,_completionStatment] call vn_ms_fnc_tracker_attackArea;
Parameters
_target: Array - (Optional, default []) Position to attack
_spawn: ARRAY, NUMBER - (Optional, default 200) Positions to spawn attackers or radius around target
_count: Number - (Optional, default 10) Amount of waves
_delay: Number - (Optional, default 45) Delay between waves
_condition: Code - (Optional, default {true}) Condition code, spawning will stop if it will return false
_ao: ARRAY or STRING - (Optional, default "") Area, if provided spawned units will have a chance to become avalanche
_side: Side - (Optional, default EAST) Side of the attacking groups
_onSpawned: Code - (Optional, default {}) Callback function to execute on each spawned group (passed as _this)
_completionRadius: Number - (Optional, default 20) Attack waypoint completion radius
_completionStatment: String - (Optional, default nil) Attack waypoint statment, if ommited default Tracker/Avalanche is applied on completion
Return value
Array - Spawned groups

Examples

Example 1
[markerPos "vn_wp1", 150, 3, 15] call vn_ms_fnc_tracker_attackArea;