mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 09:51:47 -06:00
23 lines
440 B
Plaintext
23 lines
440 B
Plaintext
_world = ( configfile >> "CfgWorlds" >> worldName );
|
|
_author = getText( _world >> "author" );
|
|
_name = getText ( _world >> "description" );
|
|
|
|
_source = configSourceMod ( _world );
|
|
|
|
_workshopID = '';
|
|
|
|
{
|
|
if ( ( _x#1 ) == _source ) then {
|
|
_workshopID = _x#7;
|
|
break;
|
|
};
|
|
} foreach getLoadedModsInfo;
|
|
|
|
// [_name, _author, _workshopID];
|
|
|
|
[
|
|
["worldName", _name],
|
|
["author", _author],
|
|
["worldSize", worldSize],
|
|
["workshopID", _workshopID]
|
|
]; |