"Unit enters region" chat message spam!

Tuskeh

New Member
Reaction score
0
I need some help, I've created a trigger to activate when a unit enters it.

The idea is for my units to enter a certain area, and for a footman to shout "attack!" and charge in with his mates, and I'm having some problems.

1) What trigger moves units from one part of the map to the other by running?
2) How can I stop a trigger from activating multiple times? I only want the trigger to happen once, not every time a unit enters a region.

Any help would be appreciated!
 

free_killing

TH.net Regular
Reaction score
23
I need some help, I've created a trigger to activate when a unit enters it.

The idea is for my units to enter a certain area, and for a footman to shout "attack!" and charge in with his mates, and I'm having some problems.

1) What trigger moves units from one part of the map to the other by running?
2) How can I stop a trigger from activating multiple times? I only want the trigger to happen once, not every time a unit enters a region.

Any help would be appreciated!

Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
    • Actions
      • Game - Display to (All players) the text: bla
      • Set wheretogo = (Center of Region 001 <gen>)
      • Unit - Order (Entering unit) to Attack-Move To wheretogo
      • Custom script: call RemoveLocation(udg_wheretogo)
      • Trigger - Turn off (This trigger)
 
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