mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
445 B
Plaintext
23 lines
445 B
Plaintext
/**
|
|
* fn_traceModule.sqf
|
|
* @Descr: N/A
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: []
|
|
* @Return:
|
|
* @PublicAPI: false
|
|
*/
|
|
|
|
private ["_entity"];
|
|
_entity = _this select 0;
|
|
|
|
_enableForPlayer = call compile (_entity getvariable ["logDisplayLevel","0"]);
|
|
if (isnil "CSE_OBJECTS_TRACING") then {
|
|
CSE_OBJECTS_TRACING = [];
|
|
};
|
|
|
|
if (!isDedicated) then {
|
|
if (_enableForPlayer==1) then {
|
|
CSE_OBJECTS_TRACING set [count CSE_OBJECTS_TRACING, PLAYER];
|
|
};
|
|
}; |