ACE3/addons/medical/functions/fnc_getQuickViewLog.sqf
2015-01-18 22:16:35 +01:00

23 lines
380 B
Plaintext

/**
* fn_getQuickViewLog.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
#include "script_component.hpp"
private["_unit"];
_unit = _this select 0;
_log = [_unit,QGVAR(quickViewLog)] call EFUNC(common,getDefinedVariable);
if (isnil "_log") then {
_log = [];
};
if (typeName _log != typeName []) then {
_log = [];
};
_log