LoOni3r 6 Posted October 14, 2019 Hello everyone, Is it possible to value weapons for setback / recoil read? I am currently working on a weapons statistics list for my players. Thank you, Regards. Share this post Link to post Share on other sites
Dedmen 2590 Posted October 14, 2019 21 minutes ago, LoOni3r said: Is it possible to value weapons for setback / recoil read? I don't understand what you are trying to ask. You want to get the recoil values for weapons? They are defined in the weapon config. Share this post Link to post Share on other sites
LoOni3r 6 Posted October 14, 2019 Yes, I want that. I apologize for my bad English. in getNumber(configFile >> "CfgWeapons" >> _cfgname I could not find anything suitable. also under getNumber(configFile >> "CfgMagazines" >> _magazines it was not to be found. Share this post Link to post Share on other sites
Dedmen 2590 Posted October 14, 2019 configFile >> "CfgWeapons" >> weaponname >> "recoil" gives you the name of the recoil config More details you'll find in CfgRecoils Share this post Link to post Share on other sites
LoOni3r 6 Posted October 14, 2019 thank you. I was already wondering what the string is for. this works: _recoil = (getarray (configFile >> "CfgRecoils" >> (gettext(configFile >> "CfgWeapons" >> _cfgname >> "recoil")) >> "kickBack")) select 0; Thank you again. I was annoyed with it for 3 days. 1 Share this post Link to post Share on other sites