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

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
m (1 revision imported)
(No difference)

Revision as of 18:23, 5 January 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
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
-