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

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
(Page filling)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Wyqer, veteran29
+
|author= Wyqer, veteran29
 +
 
 +
|a=
  
 
|e=
 
|e=
Line 10: 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:
 
        Get groups array from Overlord FSM.
 
 
 
    Parameter(s):
 
        _fsmId - Id of FSM to get groups from [NUMBER, defaults to -1]
 
 
 
    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]];
+
|s= [fsmId] call [[VN_ms_fnc_tracker_overlord_getGroups]]
  
|p1n=
+
|p1n= fsmId
|p1t=
+
|p1t= number
 
|p1d=
 
|p1d=
 
|p1v=
 
|p1v=
Line 44: 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;