06-05-2015, 07:41 PM
I'm trying to create an event handler script that ignores damage dealt when unit is hit and instead delivers the damage that i want like. If i decide on damage 0.1 it should take 10 hits regardless of damage to kill him, will this work?
Code:
p1 addEventHandler ["HandleDamage", {false}];Â
p1 addEventHandler ["Hit", {p1 setDamage (0.2 + Damage p1)}];
If i were to ask someone to move some furniture i would ask the guy at the bar eating bar food