Guest Posted October 10, 2018 I need to get the picture of a bunch of objects from it's config file but I can't. For example, if I wanna get the picture of a weapon I use: getText(configFile >> "CfgWeapons" >> "weaponClassname" >> "picture"); But it doesn't work with CfgVehicles: getText(configFile >> "CfgVehicles" >> "Land_Sunshade_01_F" >> "picture"); It just return "pictureStaticObject" instead of the picture path. So what can I do now? Share this post Link to post Share on other sites
Dedmen 2703 Posted October 11, 2018 What picture? picture like the preview? That's called "editorPreview" for CfgVehicles classes. 1 Share this post Link to post Share on other sites
dodzh 28 Posted October 13, 2018 this works _lblPicture = getText(configFile >> "cfgVehicles" >> _x >> "picture"); 1 Share this post Link to post Share on other sites
davidoss 552 Posted October 13, 2018 use "editorPreview" class instead Share this post Link to post Share on other sites