tinboye 219 Report post Posted March 14, 2017 I have not done much within eden editor and cfgweapons. Is there a script i can run or somewhat to compile a list, or someone have a list of exile weapons and what magazines they use. example for the exile weapon: Exile_Weapon_CZ550 what ammo/magazine matches that weapon that kind of thing. thanks Share this post Link to post Share on other sites
Shix 379 Report post Posted March 20, 2017 getArray (configFile >> "CfgWeapons" >> WeaponClassName >> "magazines") 1 Share this post Link to post Share on other sites
WolfkillArcadia 758 Report post Posted March 20, 2017 Spoiler _allWeapons = []; { _weapon = configName _x; _itemInformation = [_weapon] call BIS_fnc_itemType; switch (_itemInformation select 0) do { case ("Weapon"): { if ((_weapon find "Exile_") > -1) then { _allMags = getArray(configFile >> "CfgWeapons" >> _weapon >> "magazines"); _allWeapons pushBack [_weapon, _allMags]; }; }; }; } forEach ('(getNumber(_x >> ''scope'') isEqualTo 2) && {!(getText(_x >> ''picture'') isEqualTo '''')}' configClasses (configFile >> 'CfgWeapons')); copyToClipboard str(_allWeapons); That will copy all of Exile's weapon + their respective magazines to your clipboard. If you want it copied to a clipboard, you must run this in editor as it's disabled in a MP environment. 4 Share this post Link to post Share on other sites
tinboye 219 Report post Posted March 20, 2017 Thank you! Share this post Link to post Share on other sites