• 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.

Crashing Help

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
You've created an infinite loop -.-

The trigegr "Humans":

If the trained unit is not a child, a poor man, or a rich villager, you run the trigger again.
So if you create a footman, the trigger will run again and again... since you didn't put any wait in the trigger (the waits aren't accessed, because it's the wrong unit type), it runs an infinite times in a single second, which is too much to handle.
Remove the "run (This Trigger) checking conditions".
("Unit is alive" is futile as well, if you create a unit, it's always alive, isn't it?).

I would also advice
  • Removing the leaks
  • Changing the entire terrain
  • Adding information
 
Status
Not open for further replies.
Top