mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
379 B
Plaintext
24 lines
379 B
Plaintext
|
/**
|
||
|
* 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
|