Joccaren
You can change this now in User CP.
- Reaction score
- 54
What is wrong with these conditions. I am trying to revive only a few, very specific types of units in an area but the conditions always stop this from happening. Can someone tell me where my error lies?
I know that I hav my actions outside of my if then else statement, this is just to test whether or not the trigger works with a 100% chance of happening. Also, yes, My unit group is set to some units, even when I remove that condition though, the trigger doesn't run.
Trigger:
- Spirit Ward Revive
- Events
- Unit - A unit Dies
- Conditions
- And - All (Conditions) are true
- Conditions
- (Unit-type of (Triggering unit)) Equal to Troll Hunter
- (Unit-type of (Triggering unit)) Equal to Troll Shaman
- (Unit-type of (Triggering unit)) Equal to Troll Warrior
- ((Triggering unit) is in NearSpiritWardUnitGroup) Equal to True
- Conditions
- And - All (Conditions) are true
- Actions
- Set SpiritWardInteger = (Random integer number between 1 and 100)
- Wait 1.00 seconds
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
- Unit - Remove (Triggering unit) from the game
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- SpiritWardInteger Less than or equal to 5
- Then - Actions
- Else - Actions
- If - Conditions
- Events
I know that I hav my actions outside of my if then else statement, this is just to test whether or not the trigger works with a 100% chance of happening. Also, yes, My unit group is set to some units, even when I remove that condition though, the trigger doesn't run.