mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
- Moved player_countMagazines to \compile\ folder - Removed several unused and obsolete files - Moved some epoch functions out of compiles.sqf into individual files - Synced order and formatting with 1.8.7. Much easier to compare now. Any changes I make to official DayZ Mod code and files I also submit as a pull request to them.
15 lines
382 B
Plaintext
15 lines
382 B
Plaintext
_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;
|
|
} count _objInfo;
|
|
_i = _i + 2; // skip the ": " part
|
|
for "_k" from _i to _lenInfo do {
|
|
_objName set [(count _objName), (_objInfo select _k)];
|
|
};
|
|
_objName = toLower(toString(_objName));
|
|
_objName |