HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Checking what event caused the trigger to run

11-24-2003, 11:51 AM#1
WeirdMusician
I want to have a trigger that has like 10 different events of unit enters region and each region being different.

Is there anyway to store the entered region into say a string?

Or also I want to do this with a bunch timer triggers.

and find which timer set off the trigger

doing this will allow me to make 40 triggers into about 4
and also reduce lag.

please say there is a way to do this?
11-24-2003, 11:58 AM#2
PitzerMike
by using JASS or advanced world editors you can get the Triggering Event id
11-24-2003, 12:07 PM#3
WeirdMusician
I found that event id thingy on UMSWE it will let me set the last fired event but it wont let me compare events

I mean I cant set up an event array to check for which event is fired.
11-24-2003, 12:38 PM#4
PitzerMike
I know, they forgot to add the event id presets. They are in WEU though. And the next version of UMSWE will have them as well.
11-24-2003, 06:52 PM#5
WeirdMusician
cool, when will the next version of UMSWE be out,
BTW I've tried to use your WEU but any time I use a special feature in your editor it wont save, and says there is an error with that trigger.

What am I doing wrong?
11-24-2003, 07:02 PM#6
PitzerMike
heh, you're trying to use advanced triggers in a map that doesn't have blizzard.j imported, AND you're definitely not reading readmes, heh

Regarding UMSWE: I don't know, ask Starcraftfreak but I'm quite sure it won't be too soon