What is wrong as the conditions?

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?

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
    • 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


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.
 

cleeezzz

The Undead Ranger.
Reaction score
268
is it possible for a unit to be a shaman, hunter, and warrior at the same time!??!?!

Code:
And - All (Conditions) are true
:D
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top