Staredit Network

Staredit Network -> UMS Assistance -> HyperTriggers...
Report, edit, etc...Posted by yoni45 on 2006-05-04 at 00:45:18
I know that a trigger will run (about) 12x per second if hypertriggers are there, but what if you have more than one set of triggers running in parallel? Say there's 2 triggers, each of which have conditions that would run them 12 times. Would they run in 1 second, or in 2? (do they run together, or do they alternate?)
Report, edit, etc...Posted by Kupo on 2006-05-04 at 01:07:46
As BoltHead said, you should atleast have 3 but having over 5 is just ridiculous. And no, it will remain 12 still.
Report, edit, etc...Posted by yoni45 on 2006-05-04 at 01:59:51
QUOTE(Kupo @ May 3 2006, 11:07 PM)
As BoltHead said, you should atleast have 3 but having over 5 is just ridiculous. And no, it will remain 12 still.
[right][snapback]479186[/snapback][/right]


I... don't remember asking how many hyper trigger triggers to make... =/

Perhaps you misunderstood...

Say I already have hypertriggers set up, and 2 sets of triggers that say, look like this:

Trigger
Conditions:
¤ Player 1 Brings at Most 12 Marines to Anywhere
Actions:
¤ Create 1 Terran Marine at Anywhere For Player 1


And:

Trigger
Conditions:
¤ Player 1 Brings at Most 12 Firebats to Anywhere
Actions:
¤ Create 1 Terran Firebats at Anywhere For Player 1


Now, the end result is 12 Marines and 12 Firebats in the middle of the map (or 13 now that I think of it, likely 13, let's assume its 12 for the sake of this though...)

So, 24 cycles fired off in total...

Do the 2 triggers fire off together, and the cooldown of 12/sec. is only between each trigger and itself, or is that absolute between all triggers?

(in other words, would it take 1 second for all 24 units to appear or 2?)
Report, edit, etc...Posted by Demaris on 2006-05-04 at 02:05:51

I'll put it this way:

You have 1 trigger and hypers.

That trigger activates and checks if the conditions are met every 12 seconds.


You have 400 triggers and hypers.

All 400 triggers check if the conditions are true 12 times a second.
Report, edit, etc...Posted by yoni45 on 2006-05-04 at 02:07:31
QUOTE(Demaris @ May 4 2006, 12:05 AM)

I'll put it this way:

You have 1 trigger and hypers.

That trigger activates and checks if the conditions are met every 12 seconds.
You have 400 triggers and hypers.

All 400 triggers check if the conditions are true 12 times a second.

[right][snapback]479203[/snapback][/right]


So in other words, it'd take 1 second to run 400 triggers 12 times, correct? =D
Report, edit, etc...Posted by Daedalus on 2006-05-04 at 04:41:35
Yep, that's what he is saying smile.gif. All trigger conditions are checked 12 times a sec. Though when every of those 400 triggers makes a marine they will most probably not fire constantly because of the lag tongue.gif.
Report, edit, etc...Posted by Kenoli on 2006-05-04 at 09:22:03
QUOTE
So in other words, it'd take 1 second to run 400 triggers 12 times, correct? =D
Incorrect. Let me try to explain it.
Normally there is a 2 second gap between when triggers fire. With hyper triggers they fire about 12 times per second, so the gap is only about 83ms.
When it's time for the triggers to fire they will ALL fire at once in an instant.

So, if you have
Trigger
Conditions:
¤ Player 1 Brings at Most 12 Marines to Anywhere
Actions:
¤ Create 1 Terran Marine at Anywhere For Player 1
and
Trigger
Conditions:
¤ Player 1 Brings at Most 12 Marines to Anywhere
Actions:
¤ Create 1 Terran Marine at Anywhere For Player 1
Without hyper triggers it will take 12 seconds to get 12 Marines (two will be created every two seconds)
With hyper triggers it will take about half a second (two will be created every ~83ms)

Hyper triggers only effect how often the triggers get a chance to fire.
Report, edit, etc...Posted by yoni45 on 2006-05-04 at 12:32:44
QUOTE(Kenoli @ May 4 2006, 07:21 AM)
Incorrect. Let me try to explain it.
Normally there is a 2 second gap between when triggers fire. With hyper triggers they fire about 12 times per second, so the gap is only about 83ms.
When it's time for the triggers to fire they will ALL fire at once in an instant.
...
Without hyper triggers it will take 12 seconds to get 12 Marines (two will be created every two seconds)
With hyper triggers it will take about half a second (two will be created every ~83ms)

Hyper triggers only effect how often the triggers get a chance to fire.
[right][snapback]479246[/snapback][/right]


I'm fairly sure that says the exact same thing that was said earlier, the 400 was responding to demaris's post wink.gif

ADDITION:
quick related question, 12/second per trigger is per GAME second, not per actual second, correct?
Report, edit, etc...Posted by WoodenFire on 2006-05-04 at 13:26:08
Game time second would be 1000ms, which is in our time, the exact same.
Report, edit, etc...Posted by yoni45 on 2006-05-04 at 13:33:03
QUOTE(WoodenFire @ May 4 2006, 11:25 AM)
Game time second would be 1000ms, which is in our time, the exact same.
[right][snapback]479302[/snapback][/right]


So if you place a countdown timer, it would take several seconds on the countdown timer (since its faster than real-time on Fastest mode), to fire a trigger 12 times?
Report, edit, etc...Posted by Kenoli on 2006-05-04 at 14:32:45
QUOTE
I'm fairly sure that says the exact same thing that was said earlier, the 400 was responding to demaris's post
Yeah, I think I just misunderstood what you said before. =P
Report, edit, etc...Posted by Gigins on 2006-05-04 at 16:01:06
Yes it doesn't matter how many triggers are running. Man it would take like 5 minutes for you to test lol.
Next Page (1)