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

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

Status
Not open for further replies.
Level 12
Joined
Feb 13, 2009
Messages
386
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