mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
not needed as it is part of the compiles.sqf
This commit is contained in:
@@ -82,20 +82,3 @@ _nrTLs= position _twr nearObjects ["#lightpoint",30];
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
DZE_getModelName = {
|
|
||||||
_objInfo = toArray(str(_this));
|
|
||||||
_lenInfo = count _objInfo - 1;
|
|
||||||
_objName = [];
|
|
||||||
_i = 0;
|
|
||||||
// determine where the object name starts
|
|
||||||
{
|
|
||||||
if (58 == _objInfo select _i) exitWith {};
|
|
||||||
_i = _i + 1;
|
|
||||||
} forEach _objInfo;
|
|
||||||
_i = _i + 2; // skip the ": " part
|
|
||||||
for "_k" from _i to _lenInfo do {
|
|
||||||
_objName = _objName + [_objInfo select _k];
|
|
||||||
};
|
|
||||||
_objName = toLower(toString(_objName));
|
|
||||||
_objName
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user