The world editor doesn't disable triggers because they leak. Post the error message you're getting word for word.
You mean I could do:The current life of the triggering unit in response to a damage event is the life the unit has before the damage is dealt. The damage response event fires before damage is dealt to the unit's life.
No, because that trigger is not hooked with a damage response event. You are just sampling the life of the unit when another unit attacks it. Remember that attacks fire when a unit initiates an attack sequence and have nothing to do with damage or even if the attack complets (you can interupt an attack before the unit fires a projectile / lands a hit).And that would be the life of the unit before he gets damaged?
Make a trigger setting a variable then delete the variable and the trigger will be disabled.
JASS does not support this opperation.then delete the variable