HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help on trigger

05-08-2004, 05:43 PM#1
Snork
Im hoping to make a trigger that if a unit (hero) stays in a rect for over 5 sec, the unit dies. But if this unit moves out of the rect before 5 sec, nothing happens. Is it possible to do this. I just can't figure out a way to do it. thanks for any help.
05-08-2004, 07:29 PM#2
ChinShu
This might work:

Event:
A unit enters (whatever region)

Condition:
Unit - Type of entering unit equal to (whatever hero)

Action:
Wait 5 seconds
If (whatever region) contains (whatever hero) equal to true then do (kill the hero) else Do Nothing
05-08-2004, 09:58 PM#3
Snork
I tried it and it doesn't work :(


EDIT: actually it does work. I had the trigger turned off.. im a dummy. Thanks for the help! :)
05-08-2004, 09:59 PM#4
Aznwhore
chinshu, your sig's huge
05-08-2004, 10:01 PM#5
linkmaster23
Quote:
Originally Posted by Snork
I tried it and it doesn't work :(
It should work. Post your trigger here.
05-08-2004, 10:09 PM#6
Snork
yes, it does work. I was messing around with another trigger so i turned off the all others. I forget to turn this one back on when I was testing this :P Again, thanks for the help
05-08-2004, 10:38 PM#7
ChinShu
Okay, I changed my sig, it shouldn't take up so much loading now.

Sorry for the inconvience.