Staredit Network > Forums > General StarCraft > Topic: hyper triggers
hyper triggers
Aug 13 2012, 12:58 am
By: iCCup.xboi209  

Aug 13 2012, 12:58 am iCCup.xboi209 Post #1



How did someone find its existence?



None.

Aug 13 2012, 1:03 am lil-Inferno Post #2

Just here for the pie

I'm guessing a combination of technical knowledge and a bit of luck.




Aug 13 2012, 4:21 am Roy Post #3

An artist's depiction of an Extended Unit Death

I would have discovered them on my own if someone else hadn't. I'm fairly confident any mapping enthusiast would have discovered them independently.

It's all about observations.

What happens when you preserve a trigger? Well, the trigger runs, then after about a 2-second delay, it repeats. Pretty basic stuff. But after a while, when you're adding more triggers to your map, you'll notice the delay on your preserve triggers become inconsistent; sometimes they're fast, and sometimes they're slow. Is it changing because you have more triggers? Making a bunch of Create/Kill Unit triggers doesn't seem to affect it, so that can't be the answer. What trigger(s) did you add that caused this? You can start deleting triggers until the inconsistency goes away, and then look at the trigger(s) you deleted to see what they contained that might influence the delay. Well, the "Wait" action looks mighty suspicious right now.

If you notice that your preserved triggers run faster when you have a trigger with waits executing, it should get you to ask questions about why that is. If you decrease the amount of time on the waits for that trigger, the other triggers also speed up. So, what if we have a trigger that just spams Wait 0? Well, all the other triggers run insanely fast! But there's a problem here: they only do it for a short while, and then there's the regular long delay. Well, how many times to they run quickly before the delay? In the case of one hyper trigger, you could count it out to be up to 63 times, or the number of waits you used. Naturally, if you want the effect to last longer, you would just copy that trigger. But how many waits do you need?

From here, assuming you don't already know a lot on trigger execution, you could copy the trigger once and see how much more time it provides you. I would have probably expected it to only double, since we're doubling the waits, but what actually happens is quite different: we have the first trigger run 63 times and the second trigger executes one of its waits, but then the first trigger starts over again. From this, we can assert that the amount of time given to us is multiplicative. Well, copying the trigger four times would give us 15752961 trigger cycles before a long pause. Assuming about 12 cycles per second, this would give us a little more than 364 hours (about 15 days) before all those triggers would cycle through and we'd get our long delay again.

That's how I would have discovered them, at least; I imagine the actual discovery was through a similar process.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:42 am]
RIVE -- Hellooooo, Nurse
[04:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Moose