Difference between revisions of "VN ms fnc tracker overlord init"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
m (Text replacement - "[[vn_" to "[[VN_")
Line 39: Line 39:
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
  
|s= [] call [[vn_ms_fnc_tracker_overlord_init]]
+
|s= [] call [[VN_ms_fnc_tracker_overlord_init]]
  
 
|p1n=
 
|p1n=

Revision as of 17:33, 23 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

Description

/*
    Author: Wyqer, veteran29
    Date: 2019-08-10

    Description:
        Initializes overlord on an area.

    Parameter(s):
        _ao           - Area array or marker name             [AREA ARRAY or STRING, defaults to ""]
        _enemySide    - Side of groups spawned by Overlord    [SIDE, defaults to EAST]
        _runCondition - Condition to check before spawning groups [CODE, defaults to {true}]
        _alert        - Starting alert value for Overlord [NUMBER], defaults to 0]

    Returns:
        FSM ID [NUMBER]
*/
params [
   ["_ao", "", ["", []], [4,5,6]],
   ["_enemySide", EAST, [sideUnknown]],
   ["_runCondition", {true}, [{}]],
   ["_alert", 0, [0]]
];

// return
[_ao, _enemySide, _runCondition, _alert] call vn_ms_fnc_tracker_overlord
(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)

Syntax

Syntax
[] call VN_ms_fnc_tracker_overlord_init
Return value
Nothing

Examples

Example 1
-