• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Problem with Entering Unit

Status
Not open for further replies.
Level 8
Joined
Jun 26, 2019
Messages
318
Hello. I have problem with Unit Enters Region in the event. It seems that when I run a game and a unit enters region, and when I created more peasants, the trigger added other town hall and 5 peasants again, and then the game got froze, looks like it kept repeating because of second town hall and other 5 peasants dropped into as a Unit Enters Region, and it repeats, and repeating, caused a game to froze. I have 6 players total need to be fixed. This is one of each player. 6 players, 6 triggers. How do you make the event to be this "Owner of Player 1 Enters Region"? How do you make it one time? Not repeating, you know? Thanks. Here the picture of my trigger and see if you can see any problem that caused the units to be repeatly created forever and caused the game to be crashed.

upload_2019-12-6_3-46-54.png


upload_2019-12-6_3-47-40.png
 
Because when you create new units, they also "enter" the map, thus retriggering the event. A quick fix is to disable trigger as the first action, then enable trigger as the last action.
 
did you solve this yet?
your trigger entry unit at the same time creating them on that region (Point1)
Try to make new region like spawn region as your Point1 variables..

so if you enter start location you only trigger it once..
then your condition should have a hero as true, not to trigger by your units or peasants..

and remove point1 after spawning them
 
you can either disabled the trigger after the first run or make it so that only 1 specific unit activates this trigger by setting up a condition that checks the triggering unit
 
Status
Not open for further replies.
Back
Top