Hunter-Over-Fire 123 Posted March 10, 2020 (edited) I am trying to make a way that this script will fire Every time this object is hit buy a person with this specific weapon but it will not work for some lame reason. any ideas as to why and how to fix it? Edited March 10, 2020 by Hunter-Over-Fire Share this post Link to post Share on other sites
Indomitus 388 Posted March 10, 2020 (edited) you can use the "IS ENTITY/TYPE" tile. IS Entity [Get Active Item...] Type [Zirconium Rifle] That tile by itself will return a True or False, and can go in the IF statement without anything else. Extra tip: Entities (the objects) have a Type and a Class. For this one, the Type would be "ZIRCONIUM RIFLE" and a couple Classes for it could be "WEAPON" or "RANGED WEAPON". A class for a stone block would be "BUILDING MATERIALS" for another example. And so on. It really comes in handy sometimes. Edited March 10, 2020 by Indomitus Share this post Link to post Share on other sites
jchob 354 Posted March 11, 2020 Be warned, that if the object is set to "Indestructible" at properties window, the ON DAMAGE event will not be triggered Share this post Link to post Share on other sites