Taylor1984 14 Posted October 23, 2018 Hi! Does anyone know how to check the name of the _bullet in the "fire" eventhandler? You can easily check what kind of weapon is used by the unit firing by: _weapon=="throw" but the following doesn't seem to work: _bullet=="smokeshell" Any ideas? Thanks Share this post Link to post Share on other sites
XianGrim 73 Posted October 23, 2018 you should use a formated hint to check the name hint format ["bullet name = %1",(_this select 7)]; I think should give you the projectile in the EH IIRC Share this post Link to post Share on other sites
Dedmen 2588 Posted October 31, 2018 Afaik _bullet is the object. Not a string You can use "typeOf" to get the classname of a object. 1 Share this post Link to post Share on other sites
HazJ 1288 Posted October 31, 2018 Why not use: Quote ammo: String - Ammo used magazine: String - magazine name which was used https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Fired 1 Share this post Link to post Share on other sites