Quantcast
Channel: Open DayZ Community
Viewing all articles
Browse latest Browse all 9028

How do you reduce damage a unit take?

$
0
0
Hey there,
i was wondering, whether we can somehow reduce the damage a unit take or expand the damage the unit can take by just using the init line.

I guess it's done via evenhandler, i tried a bit but can someone tell me whether this will work or not (my first time working with EH).
Code:
this addEventHandler ["HandleDamage", {(_this select 2)/2}];
thanks J3T

Viewing all articles
Browse latest Browse all 9028

Trending Articles