Argmax 1 Posted April 28, 2019 HI, I was looking for a way to create a unit that can only be killed with a specific weapon class. Example: General "Tom(unit like a boss)" can only die by shots with a missile launcher, other like pistols, riffles, grenades, etc. they do not harm it. "unit" should have allowdamage false, except with the specific type of weapon (in this example missile launcher) EDIT: Create an unit (Will be the "boss" ) i call him Tom (you choose the name) -in the "boss" init put: this allowDamage false; -Place a Trigger with a size that can cover the boss´s domains, - Select Activation: any player, - Act. Type : present, -Check Repeat (if you change the weapon the boss will be "inmortal" again ) Cond (currentWeapon player isEqualTo "name of weapon") && alive Tom; //this part detects if you have that weapon in your hands (not backpack, hold, etc) and if the "boss" is alive. On Act. Tom allowDamage true; On Deact. Tom allowDamage false; Share this post Link to post Share on other sites
pierremgi 4853 Posted April 29, 2019 Have a search for handleDamage topic. There are plenty of examples for altering damages on units, whatever the reason is. Share this post Link to post Share on other sites