Right now I'm trying to make a trigger that will spawn a unit when your hero reaches 50% hp, and I am having trouble getting the event part of the trigger to work properly. Since there isn't, or I'm blind, a straight percentage function I tried working around it. First I tried "Unit - Percentage Life" and made a unit, set him at 50% and tried out the trigger, but it didn't work.
The next thing I tried was a "Unit - Property" and then made a separate trigger that would adjust the hp of the targeted unit to correctly match 50% that of the heroes. That didn't work either.
I have tested it as just a flat number, and it works fine. So it must be when I try to set the value from another unit. Anyway here is the working part of the trigger with just a flat value set into it. Any help would be appreciated.
The next thing I tried was a "Unit - Property" and then made a separate trigger that would adjust the hp of the targeted unit to correctly match 50% that of the heroes. That didn't work either.
I have tested it as just a flat number, and it works fine. So it must be when I try to set the value from another unit. Anyway here is the working part of the trigger with just a flat value set into it. Any help would be appreciated.


