VN_ms_fnc_tracker_overlord_init

From Savage Game Design Wiki
Revision as of 15:58, 26 February 2021 by Lou Montana (talk | contribs) (Page filling)
(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

Initializes Overlord on an area.

Syntax

Syntax
[ao, enemySide, spawnCondition, alertLevel] call VN_ms_fnc_tracker_overlord_init
Parameters
ao: String or Array - marker name or array format [center, a, b, angle(, isRectangle, c)] - see inAreaArray syntax
enemySide: Side - (Optional, default east) side of groups spawned by Overlord
spawnCondition: Code - (Optional, default { true }) condition checked before groups are spawned
alertLevel: Number - (Optional, default 0) starting alert value for Overlord
Return value
Number - FSM id

Examples

Example 1
[[getPos leader sogGroup, 500, 500, 0], east, { allPlayers findIf { alive _x } != -1 }, 2] call VN_ms_fnc_tracker_overlord_init;