Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Replacing Wait With Death Timer Help
Replacing Wait With Death Timer Help
Mar 22 2010, 10:09 am
By: bobo  

Mar 22 2010, 10:09 am bobo Post #1



how would i go about going from a trigger that looks like this
CONDITION
commands 1 high templar
ACTION
kill all units at Location 1
wait 3000
kill all units at Location 1
wait 2500
kill all units at Location 1
remove all high templar
preserve trigger

into deaths replacing waits? Can this be done using 1 trigger or need it be more than 1?



None.

Mar 22 2010, 10:57 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You need +1 trigger for each wait. Basically whenever there's a wait you split the trigger's action list and create a new one.
So the first trigger is
C: Commands 1 ht
A: Set dc to 1
A: Kill all units

Then
C: dc is 36 (3000ms / 84ms per trigger loop)
A: Kill all units

Then
C: dc is 66 (36 + 2500ms / 84ms per trigger loop)
A: Kill all units
A: remove all ht
A: Set dc to 0


And a counter:
C: dc is at least 1
A: add 1 dc

These values require the use of hyper triggers.




Mar 23 2010, 6:37 am bobo Post #3



oh ok thats what i thought id have to do, do u think if i left it as waits that it wud cause my map to lag, cuz i cant run hypers at 0ms cuz it lags my game, currently i have it at 210ms. I noticed if i run at 0ms and i play it online with 1 or 2 ppl then the rest comps it doesnt lag, but if i play with all 8 as humans it does.

one last thing is 0ms the same as 84ms? so say i had hypers 42ms wud it still be the same as 0?



None.

Mar 23 2010, 6:43 am Kaias Post #4



Quote from bobo
oh ok thats what i thought id have to do, do u think if i left it as waits that it wud cause my map to lag, cuz i cant run hypers at 0ms cuz it lags my game, currently i have it at 210ms. I noticed if i run at 0ms and i play it online with 1 or 2 ppl then the rest comps it doesnt lag, but if i play with all 8 as humans it does.

one last thing is 0ms the same as 84ms? so say i had hypers 42ms wud it still be the same as 0?
If you post your map we can find the greatest sources of lag in your map.
In the mean time: Scroll to Map Lag section



None.

Mar 23 2010, 7:25 am NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

If your map isn't nearly as big as Tuxlar's or Ahli's projects then it shouldn't lag with 0ms hypers. If it does, it's most definitely a conceptual error. Check the recent http://www.staredit.net/topic/10350/ topic for the most common sources of map lag.

I'm not entirely sure how it is with hypers between 0-100ms but you can just test it yourself.
Wait's don't lag at all, neither do dcs. However you might run into Wait Blocks if you do it wrong.




Mar 23 2010, 7:33 am bobo Post #6



i think its just the mass amount of units with triggers that are preserved, but maybe u guys can tell me otherwise oh its not my map its my bro's but i help time to time :P

Post has been edited 2 time(s), last time on Mar 23 2010, 8:21 am by bobo. Reason: bro wanted to take map off, pm for map?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:43 am]
Symmetry -- I'm doing my best, damn it
[2026-9-28. : 4:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[2026-9-28. : 4:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[2026-9-28. : 4:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[2026-9-28. : 4:10 pm]
WeirdoX4857 -- Where is everybody
[2026-9-28. : 1:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
Please log in to shout.


Members Online: NudeRaider