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.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: Roy, jun3hong