• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] Why doesn't this trigger move the region(Probably Simple)

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2009
Messages
94
  • Untitled Trigger 004
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Guard Room
    • Actions
      • Player - Make Guard Room Unavailable for training/construction by Player 1 (Red)
      • Game - Display to Player Group - Player 1 (Red) the text: |cffff0000You may o...
      • Set TESTY = (Constructed structure)
      • Region - Center GaurdThis <gen> on (Position of TESTY)
      • Region - Center Breach1 <gen> on (Position of TESTY)
      • Trigger - Turn on RABAJABA <gen>
      • Trigger - Turn on GuardDies <gen>
      • Trigger - Turn on Breach <gen>
GuardThis gets moved to the postion of "TESTY"
But Breach1 does not.
No idea. Tried making a seperate trigger with just "Center Breach1 on Postion of TESTY" But that doesn't work either.
 
Level 6
Joined
Apr 23, 2009
Messages
94
  • Breach
    • Events
      • Unit - A unit enters Breach1 <gen>
    • Conditions
      • (((Owner of (Entering unit)) is an enemy of Player 1 (Red)) Equal to True) and ((Number of units in (Units in GaurdThis <gen> matching (((Matching unit) has buff Guarding) Equal to True))) Greater than or equal to 1)
    • Actions
      • Game - Display to Player Group - Player 1 (Red) the text: Your creatures have...
      • Cinematic - Ping minimap for Player Group - Player 1 (Red) at (Position of (Entering unit)) for 1.00 seconds, using a Warning ping of color (100.00%, 0.00%, 0.00%)
This is the trigger that deals with Breach1.
It is true, because there are units near where i have Breach1 at before its SUPPOSED to get moved, and i just get map pings all over where it was originally placed.

SOLVED!
  • Breach
    • Events
    • Conditions
      • (((Owner of (Entering unit)) is an enemy of Player 1 (Red)) Equal to True) and ((Number of units in (Units in GaurdThis <gen> matching (((Matching unit) has buff Guarding) Equal to True))) Greater than or equal to 1)
    • Actions
      • Game - Display to Player Group - Player 1 (Red) the text: Your creatures have...
      • Cinematic - Ping minimap for Player Group - Player 1 (Red) at (Position of (Entering unit)) for 2.00 seconds, using a Warning ping of color (100.00%, 0.00%, 0.00%)
I took the event Unit Enters Region out of here ^^^

  • Untitled Trigger 004
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Guard Room
    • Actions
      • Player - Make Guard Room Unavailable for training/construction by Player 1 (Red)
      • Game - Display to Player Group - Player 1 (Red) the text: |cffff0000You may o...
      • Set TESTY = (Constructed structure)
      • Region - Center GaurdThis <gen> on (Position of TESTY)
      • Region - Center Breach1 <gen> on (Position of TESTY)
      • Trigger - Add to Breach <gen> the event (Unit - A unit enters Breach1 <gen>)
      • Trigger - Turn on RABAJABA <gen>
      • Trigger - Turn on GuardDies <gen>
      • Trigger - Turn on Breach <gen>
And put it as a Trigger Add here ^^^
Seems like where the Region is originally placed, is where all triggers will refer to it if they have a Unit Enter Region and you do Move Region.
 
Last edited:
Status
Not open for further replies.
Top