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

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " {{Function" to "Category:TODO {{Function")
(Page filling)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 12: Line 11:
 
|g1= tracker
 
|g1= tracker
  
|d= <pre>/*
+
|d= Get groups array from Overlord FSM.
    File: fn_tracker_overlord_getGroups.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-13
 
    Last Update: 2020-10-14
 
    Public: Yes
 
  
    Description:
+
|s= [fsmId] call [[VN_ms_fnc_tracker_overlord_getGroups]]
        Get groups array from Overlord FSM.
 
  
    Parameter(s):
+
|p1n= fsmId
        _fsmId - Id of FSM to get groups from [NUMBER, defaults to -1]
+
|p1t= number
 
 
    Returns:
 
        Array with Overlord FSM groups where index is alert level, last element contains all groups [ARRAY]
 
 
 
    Example(s):
 
        [1337] call vn_ms_fnc_tracker_overlord_getGroups
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[vn_ms_fnc_tracker_overlord_getGroups]];
 
 
 
|p1n=
 
|p1t=
 
 
|p1d=
 
|p1d=
 
|p1v=
 
|p1v=
Line 46: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= array
|r1d=
+
|r1d= array with Overlord FSM groups where index is alert level, last element contains all groups
  
|x1= <code>-</code>
+
|x1= <code>private _alertedGroups = [1] call [[VN_ms_fnc_tracker_overlord_getGroups]];</code>
 
}}
 
}}

Latest revision as of 15:51, 26 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

Get groups array from Overlord FSM.

Syntax

Syntax
[fsmId] call VN_ms_fnc_tracker_overlord_getGroups
Parameters
fsmId: Number
Return value
Array - array with Overlord FSM groups where index is alert level, last element contains all groups

Examples

Example 1
private _alertedGroups = [1] call VN_ms_fnc_tracker_overlord_getGroups;