From Savage Game Design Wiki
Jump to navigation
Jump to search
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
-