Hello folks
I'm making a 'poison' script and wanted to know two things.
I have a trigger attached to a plane and when anyone gets in it's radius it will activate the following
{_x setdammage 0.1} forEach thislist; hint "poisoned"
now what this does is that it sets damage to 0.1 to who ever is inside the trigger.. If a unit with damage of 0.9 would be inside the trigger, then he would be healed instead of poisoned. See my problem?
I need you guys/(gals) to tell me how to make it so that when a unit is about to get poisoned it won't just be setdammaged to 0.1 but rather the setdammage 0.1 added to whatever damage he already has.
The second problem I have is a more simple one (I think/hope)
If a unit is inside the trigger and is, say, driving a motorbike, then also the motorbike will be damaged. Since when did vehicles get poisoned? :-\
I need to make it so that only the unit mounted in a vehicle will suffer from the poison.
Thanks
ps. the pic attached