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

[Trigger] I need a fix for my trigger (logical error here)

Status
Not open for further replies.
Level 12
Joined
Feb 13, 2009
Messages
388
This script is supposed to work this way: when a unit enters the Necropolisglow rectangle it checks if it's still there 6 seconds later and then spawns 7 ghouls to attack it.

However I somehow get endless spawn of ghouls. Where did I make a mistake here?

vem6g8.jpg
 
Level 2
Joined
Feb 22, 2009
Messages
24
Basically you also spawn for every of the 7 ghouls 7 more...you should check if the entering unit isnt a ghoul ;)
 
Level 6
Joined
Mar 20, 2008
Messages
208
As illuya said, everytime a ghoul spawns inside the region. its considered entering the region and triggers it.
 
Status
Not open for further replies.
Top