Jump to content
Sign in to follow this  
BEAKSBY

Where can I find the "picture" .paa file for soldiers?

Recommended Posts

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

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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×