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.
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.
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.
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.
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.
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
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.