mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:33:29 +00:00
added extract_uuid sqf function and refactored other extract info functions to handle the
This commit is contained in:
10
addons/main/functions/extract_data/fn_extract_uuid.sqf
Normal file
10
addons/main/functions/extract_data/fn_extract_uuid.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
params["_unit"];
|
||||
|
||||
_uuid = _unit getVariable "_atak_uid";
|
||||
|
||||
if (_uuid == "") then {
|
||||
_uuid = "armatak" callExtension "get_uid";
|
||||
_unit setVariable ["_atak_uid", _uuid];
|
||||
};
|
||||
|
||||
_uuid
|
||||
Reference in New Issue
Block a user