Revelation & Removal of created unit

Mahgurl

New Member
Reaction score
0
Trigger:
  • Village Quest Owls
    • Events
    • Conditions
      • VillageQuestCompleted[1] Equal to True
    • Actions
      • Special Effect - Create a special effect at (Center of SpiritOwlSpawn1 <gen>) using Units\NightElf\Owl\Owl.mdl
      • Set OwlEffect1 = (Last created special effect)
      • Unit - Create 1 Owl Scout (Level 1) for Player 10 (Light Blue) at (Center of SpiritOwlSpawn1 <gen>) facing (Center of SpiritOwl1Camp <gen>)
      • Set Owl1[0] = (Last created unit)
      • Special Effect - Create a special effect at (Center of SpiritOwlSpawn2 <gen>) using Units\NightElf\Owl\Owl.mdl
      • Set OwlEffect2 = (Last created special effect)
      • Unit - Create 1 Owl Scout (Level 1) for Player 10 (Light Blue) at (Center of SpiritOwlSpawn2 <gen>) facing (Center of SpiritOwl2Camp <gen>)
      • Set Owl2[0] = (Last created unit)
      • Set SpiritOwlScouts[1] = True
      • Trigger - Run Owl1 Secure Point <gen> (checking conditions)
      • Wait 1.00 seconds
      • Unit - Grant shared vision of Owl1[1] to Player 3 (Teal)
      • Unit - Grant shared vision of Owl1[1] to Player 6 (Orange)
      • Unit - Grant shared vision of Owl2[1] to Player 3 (Teal)
      • Unit - Grant shared vision of Owl2[1] to Player 6 (Orange)
      • Special Effect - Destroy OwlEffect1
      • Special Effect - Destroy OwlEffect2
      • Trigger - Turn off (This trigger)


Trigger:
  • Owl Removal
    • Events
      • Unit - A unit enters TreeOfLifeBuilt <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Tree of Life
    • Actions
      • Set RemovalOfOwl2[1] = True
      • Wait 0.50 seconds
      • Trigger - Run Owl Total Removal <gen> (checking conditions)
      • Wait 0.50 seconds
      • Trigger - Turn off (This trigger)


Trigger:
  • Owl Total Removal
    • Events
    • Conditions
      • RemovalOfOwl2[0] Equal to True
    • Actions
      • Unit - Remove Owl2[0] from the game
      • Trigger - Turn off (This trigger)


I am unsure why doesn't the trigger work. Upon the creation of the Owl Scouts, their vision is not shared, neither are they removed when the Tree of Life trigger begins. Most likely a variable issue, but no dice on solving the problem from my side.

Any ideas?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top