HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Does a "run trigger" action end the current trigger?

03-10-2004, 11:16 PM#1
Stinky_Pooh
When you use a "run trigger" action, does it end the current trigger, or do they both run simultaniously?

If the answer to this is no, how do the variables work, if 1 trigger is changeing it, while the other one is using it?

anyway, thx, and if the colors bother u, sorry, i just felt the need to play around with some of the new features this site has desided to offer us (personally i to like the old setup better, but im optimistic, and see promise in this setup, and figure that once i get used 2 it, it will be better)
03-10-2004, 11:20 PM#2
weaaddar
welcome to the evil of global variables.
Yes if you a run a trigger the ran trigger and the one running it have equal access to the variable. Due to the system of current threads I believe the ran trigger is the first one actions which run (until a wait in which case the paused thread is ran).
So you should learn to hate globals.
03-11-2004, 11:34 PM#3
Stinky_Pooh
alas im not stupid/noob at comp sci, i know globals, and love/hate them just like everyone else. Unfortunatly for the world of map players and probably myself, i am to lasy to learn JASS and figure out how to make local variables so that i can get around these gay problems, so people will have to wait, and i will have to come up with some crazy ass sollutions to my problems lol, already found 1s for the reason i posted this :) (btw u should see the work around i have done for not makeing a single "for every _____ do blank blankity blank" functions :P it is rediculus, but actually faster, i think.)