Reeveli 4 Posted August 24, 2018 Okay so I have given each player a custom action to spawn a chemlights on their position so they can drop them under water: "Chemlight_green" createVehicle getPos player; This works great for vanilla items but for some reason anything ACE won't spawn this way, like" ACE_Chemlight_HiYellow", "ACE_Banana" or "ACE_Chemlight_IR". Any idea why this is? I had my friend replicate this so it isn't an issue just on this particular script. Share this post Link to post Share on other sites
Harzach 2518 Posted August 24, 2018 ACE_G_Chemlight_HiYellow ACE_bananaItem The classname of an item in your inventory is not necessarily the same as the classname of that item "in the world." Share this post Link to post Share on other sites
Reeveli 4 Posted August 24, 2018 1 hour ago, Harzach said: ACE_G_Chemlight_HiYellow ACE_bananaItem The classname of an item in your inventory is not necessarily the same as the classname of that item "in the world." Thanks for the info, where does one get the proper class names? Used the ACE Class names list to get these. Share this post Link to post Share on other sites
Harzach 2518 Posted August 24, 2018 There are many ways. You can look in the editor, either at the mouseover dialog in the object list, by logging classes of a placed object (right-click > log > log classes), you can look through the configs, or check the classname of the relevant object in the world in some way. For the ACE banana, I just looked at the class in the editor. For the chemlight, I grabbed the ammo class with a fired eventhandler: player addEventhandler ["fired",{copyToClipboard format["%1",(_this select 4)]}]; Share this post Link to post Share on other sites
Dedmen 2724 Posted September 4, 2018 Chemlights https://github.com/acemod/ACE3/blob/e5a15d200f44df5fccc0bc5575d18d80b35538dd/addons/chemlights/CfgAmmo.hpp#L51 It's important to know that placed Chemlights are Ammo classes. But items in your inventory and in Arsenal are Weapon classes. 1 Share this post Link to post Share on other sites