HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Why isn't my trigger working?

12-23-2003, 07:13 PM#1
Darth_Bob
Here is my trigger. I don't understand why it doesn't work. When any of the units it specifies in the conditions enters a certain region it is supposed to put them in a different region. But nothing happens when I test it.



Help would be very appreciated.
12-23-2003, 07:23 PM#2
Kerry
The triggering unit have to pass all those conditions, that's why it won't work. Use Conditon Or Condition in this case.
12-23-2003, 08:09 PM#3
curi
better yet, there's an Or [multiple conditions]

you can make that, put it at the top, then drag all the ones you already made into it
12-23-2003, 08:15 PM#4
Zechnophobe
You should be useing the event response "Entering unit" for those, not 'triggering unit'.
12-23-2003, 08:42 PM#5
Dead-Inside
It's correct, as Zechnophobe said, entering unit...

But also, your trigger needs ALL coniditions to be true, but only one can be. Your unit can only be at most one of those types. Basically, you'll need to do an If/Then/Else and add Or actions (Found at the bottom of the list). This means only one of the entered conditions have to be true. To add more then one action after that, add nothing if it's true (Then actions = Do nothing), but add Skip remaining actions if it's false (If none of them were corrects... Else actions).

That'd solve all of your problems.

Regards
Dead-Inside
12-23-2003, 09:04 PM#6
QuatreDan
Quote:
Originally posted by Dead-Inside
It's correct, as Zechnophobe said, entering unit...

But also, your trigger needs ALL coniditions to be true, but only one can be. Your unit can only be at most one of those types. Basically, you'll need to do an If/Then/Else and add Or actions (Found at the bottom of the list). This means only one of the entered conditions have to be true. To add more then one action after that, add nothing if it's true (Then actions = Do nothing), but add Skip remaining actions if it's false (If none of them were corrects... Else actions).

That'd solve all of your problems.

Regards
Dead-Inside


Yeah...Dead-Inside is apparently confused, and, furthermore, has apparently failed to read the previous posts. Why would he need If/Then/Else statements, I wonder? Anyway, everyone else is right. I just wanted to point out that Dead-Inside has done nothing but post a method that leads straight into the abyss of confusion. Just put all of those in an "Or (Multiple Conditions)" as everyone else has told you.

And, in case you were wondering, the reason that Zechnophobe is asking that you use (Entering Unit) in place of (Triggering Unit) is this. While (Triggering Unit) will work, it's range is too broad. If possible, you should always use the most specific reference. In this case, it would be (Entering Unit). This is because World Editor (as with everything else Blizzard has made) has its querks. Sometimes not being as specific as possible can cause problems.

I hope I was helpful. :D
12-23-2003, 10:09 PM#7
Darth_Bob
Yeah, thanks. I'm kind of a trigger retard. Anyway, I decided to do each unit individually anyway in order to add different things in the actions.