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.
[04:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
Please log in to shout.


Members Online: NudeRaider, Roy