Difference between revisions of "VN ms module fnc tracker aoDynamicSimToggle"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " {{Function" to "Category:TODO {{Function")
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
Line 45: Line 45:
 
</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_module_fnc_tracker_aoDynamicSimToggle]];
+
|s= [] call [[vn_ms_module_fnc_tracker_aoDynamicSimToggle]]
  
 
|p1n=
 
|p1n=

Revision as of 21:25, 20 January 2021

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

Description

/*
    File: fn_tracker_aoDynamicSim.sqf
    Author: Wyqer, veteran29
    Date: 2020-10-14
    Last Update: 2020-10-14
    Public: Yes

    Description:
        Toggle dynamic simulation for EXISTING groups. Will not apply for groups spawned in future.

    Parameter(s):
        _logic - AO Module with groups to toggle from [OBJECT, defaults to objNull]
        _enabled - Dynamic simulation state [BOOL, defaults to true]

    Returns:
        Groups that were processed [ARRAY]

    Example(s):
        [vn_ms_overlord, true] call vn_ms_module_fnc_tracker_aoDynamicSimToggle
*/

params [
    ["_logic", objNull, [objNull]],
    ["_enabled", true, [false]]
];

#ifdef VN_DEBUG
    systemChat format ["[VN_OVERLORD] Toggling dynamic sim: %1, %2", _logic, _enabled];
#endif

private _aoGroups = _logic call vn_ms_module_fnc_tracker_aoGroups;
(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)

Syntax

Syntax
[] call vn_ms_module_fnc_tracker_aoDynamicSimToggle
Return value
Nothing

Examples

Example 1
-