Jump to content
Sign in to follow this  
porcelain

Finding A Unit's Weapon Classname

Recommended Posts

I use a lot of mods (as such the BI Weapons classnames lists are useless to me), and I was wondering if there was a quicker way of finding out weapon classnames than unPBOing the unit's files and looking in there, such as something you can put in the unit's init. bar that shows you their weapon's classname in preview or something.

Share this post


Link to post
Share on other sites

Yes, by using a fired eventhandler : copy and paste the following code in the init line of the given unit, and fire the weapon :

this addeventhandler ["fired",{hint format ["Weapon name : %1 Ammo name : %2",_this select 1,_this select 4]}]

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  

×