Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Spell-Triggered Action
Spell-Triggered Action
Nov 9 2007, 12:25 am
By: FredFredBurger_  

Nov 10 2007, 5:08 am Roy Post #21

An artist's depiction of an Extended Unit Death

Quote from FredFredBurger_
dklsjfa;lkjlsdf these wait blocks are killing me god... need some help. i tried both complex and hyper triggers. none of the players i put in has no wait time to execute. i tried almost everything i could think of... still getting long ass delays of wait times. anything else should i add? yea this is annoying? asdljfsdlkjfasld;fj help!

Wait blocks aren't only caused by hyper triggers. Man, I wish I had a link that described them perfectly. Basically, a player can only be waiting once at a time. If you have 2 triggers with waits running (Like a music loop or something) then the first one will stop the second one. The second trigger will wait for the first trigger to finish "waiting" before it uses its own wait time. For example:

Trig1:
C- Always
A- Wait(1000)
A- Play Wav(ex.wav)
A- Preserve Trigger

Trig2:
C- Always
A- Wait(200)
A- Create 1 zerg zergling at anywhere for player 1
A- Preserve trigger

This will cause the second trigger to wait the 1000 milleseconds from the first trigger, and depending on when the first trigger loops, it might wait even longer than that. In short, trigger 2 is not waiting "200 milliseconds" because trigger 1 is "wait blocking" it.

***NOTE*** Wait blocks are shared with players and forces (Example: if player 1 is in force 2, then you can't have a trigger in "player 1" and a trigger in "force 2" with waits running at the same time.

Quote from Mini Moose 2707
Quote from NudeRaider
AFAIK All Players does NOT include P12 (Neutral) which is the player who always owns every swarm and web.
All Players includes Player 12. You might have to use Remove instead of Kill, though.

Personal experience, "kill" works. "remove" works. "create" does not.




Nov 10 2007, 5:29 am Falkoner Post #22



Hmm, I guess I shoulda seen that one, yeah, it fits since he said they were just long, but happening, nonetheless.



None.

Nov 10 2007, 5:30 am NudeRaider Post #23

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

Quote from Roy
Wait blocks aren't only caused by hyper triggers. Man, I wish I had a link that described them perfectly.
Here is it: Wait Blocks - All you always wanted to know about them but were afraid to ask




Nov 10 2007, 4:15 pm FredFredBurger_ Post #24



TY TY TY =] i fixed it according to your information



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[2026-4-12. : 11:55 pm]
Zoan -- not if u wer there
Please log in to shout.


Members Online: Ultraviolet, ClansAreForGays