alleycat 28 Posted March 19, 2016 I would like to retrieve the descriptive classname of a unit. I know how to do it for weapons: _weapon = (configFile >> "cfgWeapons" >> _weapon); but I am not sure how to do it for units Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted March 19, 2016 Your script snippet doesn't do anything by itself, what do you mean? Do you mean the display name? _unit = player; _displayName = getText (configfile >> "CfgVehicles" >> typeof _unit>> "displayName"); hint str _displayName; Would return something similar to "Autorifleman" etc. Cheers Share this post Link to post Share on other sites
alleycat 28 Posted March 19, 2016 Yes that was exactly what I was looking for. Thanks a lot. Share this post Link to post Share on other sites