I can't find one. We had a huge discussion in IRC, how to solve this issue.
There is effect trigger, that triggers effect on a unit or a point. Create a damage effect and trigger it on an unit.
The problem is you have to make an effect for every damage.
Wait for the next galaxy editor update, probably easier.
been looking for a simple function to instantly damage a unit from another unit like the wc3 editor had
don't want to make my own if there is in fact one that already exists
I can't find one. We had a huge discussion in IRC, how to solve this issue.
There is effect trigger, that triggers effect on a unit or a point. Create a damage effect and trigger it on an unit.
The problem is you have to make an effect for every damage.
Wait for the next galaxy editor update, probably easier.
There is a way
http://forums.sc2mapster.com/development/map-development/440-simple-question/#p3
Quote from Ateyth:
There is a way
http://forums.sc2mapster.com/development/map-development/440-simple-question/#p3
----
Changing HP != Damaging
The reason is simple, it does not trigger "unit is damage/unit takes damage" and killing source is not saved.
@Spatulon: Go
You can make 10 effects with 1, 2, 4, 8, .. 1024 damage, and deal up to 2048 damage by combining them.