VN_ms_fnc_tracker_overlord_init
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
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;