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

Region Help

Status
Not open for further replies.
Level 4
Joined
May 24, 2017
Messages
93
Can somebody explain why these triggers wont work? The first one creates the point and moves the regions but it wont add the units to the unit group when they enter/leave the regions.
  • Acid Rain
    • Events
      • Player - Player 1 (Red) types a chat message containing -test as An exact match
    • Conditions
    • Actions
      • Set VariableSet Boss = |cffff0000Dark Obelisk|r 0019 <gen>
      • Set VariableSet Acid_Regions[1] = Acid 1 <gen>
      • Set VariableSet Acid_Regions[2] = Acid 2 <gen>
      • Set VariableSet Acid_Regions[3] = Acid 3 <gen>
      • Set VariableSet Acid_Regions[4] = Acid 4 <gen>
      • Set VariableSet Acid_Regions[5] = Acid 5 <gen>
      • Set VariableSet Acid_Regions[6] = Acid 6 <gen>
      • Set VariableSet Acid_ON = True
      • Region - Center Acid Rain Region <gen> on (Position of Boss)
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Set VariableSet Acid_Point = (Random point in Acid Rain Region <gen>)
          • Environment - Change terrain type at Acid_Point to Felwood - Poison using variation -1 in an area of size 2 and shape Square
          • Region - Center Acid_Regions[(Integer A)] on Acid_Point
  • Enter Acid
    • Events
      • Unit - A unit enters Acid 1 <gen>
      • Unit - A unit enters Acid 2 <gen>
      • Unit - A unit enters Acid 3 <gen>
      • Unit - A unit enters Acid 4 <gen>
      • Unit - A unit enters Acid 5 <gen>
      • Unit - A unit enters Acid 6 <gen>
    • Conditions
    • Actions
      • Unit Group - Add (Triggering unit) to Acid_Damage_Group
      • Game - Display to (All players) the text: enter
  • Leave Acid
    • Events
      • Unit - A unit leaves Acid 1 <gen>
      • Unit - A unit leaves Acid 2 <gen>
      • Unit - A unit leaves Acid 3 <gen>
      • Unit - A unit leaves Acid 4 <gen>
      • Unit - A unit leaves Acid 5 <gen>
      • Unit - A unit leaves Acid 6 <gen>
    • Conditions
    • Actions
      • Unit Group - Remove (Triggering unit) from Acid_Damage_Group.
      • Game - Display to (All players) the text: leave
The text is for testing
 
Status
Not open for further replies.
Top