BEAKSBY 11 Posted June 19, 2014 Hi Folks, Using the script below I can retrieve the vehicle "picture" files but where do I find the ones for soldiers? _vehicle = getText (configFile >> "cfgVehicles" >> ((veh select _i) select 1) >> "displayname"); _picture = getText (configFile >> "cfgVehicles" >> ((veh select _i) select 1) >> "picture"); Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted June 19, 2014 Soldier Units don't have their pictures defined, always returns an empty string (if I can recall right), at least you can retrieve the "icon" image. Share this post Link to post Share on other sites
BEAKSBY 11 Posted June 19, 2014 Soldier Units don't have their pictures defined, always returns an empty string (if I can recall right), at least you can retrieve the "icon" image. SO...instead of "picture" I should replace it with "icon" for getText (configFile >> "cfgVehicles" >> ((veh select _i) select 1) >> "picture");? Share this post Link to post Share on other sites