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.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: NudeRaider