ACE3/addons/medical/functions/fnc_getActivityLog.sqf

24 lines
379 B
Plaintext
Raw Normal View History

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