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:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: RIVE, NudeRaider