Trigger Help
Feb 26 2023, 3:48 am
By: Gamma  

Feb 26 2023, 3:48 am Gamma Post #1



Trying to make a micro round on a UMS map for 1 Hydralisk against 1 Science Vessel. I want the Science Vessel to Irradiate the Hydralisk so that it can morph into a Lurker to survive the Irradiate by canceling the lurker morph last minute. However, my triggers are done wrong and when the hydra morphs into a lurker it automatically resets the round. Someone with more knowledge please help me.

For which player will this trigger execute?
Player 1

Conditions:
Player 1 brings exactly 0 Zerg Lurker Egg to Hydra vs Irradiate.
Player 1 brings exactly 0 Zerg Hydralisk to Hydra vs Irradiate.

Actions:
Kill all any unit for player 1 at Hydra vs Irradiate.
Kill all any unit for player 2 at Hydra vs Irradiate.
Create 1 Zerg Hydralisk at Hydra for player 1
Create 1 Terran Science Vessel at Vessel for Player 2. Apply properties.
Preserve Trigger.



None.

Feb 26 2023, 5:09 am Dem0n Post #2

ᕕ( ᐛ )ᕗ

Not sure if it detects Lurker egg correctly. Maybe just try checking if Player 1 brings 0 Lurkers?




Feb 26 2023, 9:53 am NudeRaider Post #3

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

Ya that's probably it. Eggs are weird in detections. If I understand this correctly you cannot detect lurker eggs at all. What you could do is

Lose trigger 1:
C: Current Player brings at least 1 Lurker to Hydra vs Irradiate
A: reset

Lose trigger 2:
C: Current Player has suffered at least 1 death of Hydra
A: Set deaths for Current Player of Hydra to 0
A: reset




Feb 26 2023, 10:11 am Oh_Man Post #4

Find Me On Discord (Brood War UMS Community & Staredit Network)

Quote
Cocoons, Nuclear Missiles, Zerg Eggs, and Zerg Lurker Eggs will not register as "[men]" or "[any unit]" in the Bring condition. The Nuclear Missile will register as a Nuclear Missile in conditions, the Zerg Egg will register as a Zerg Egg, and Cocoons will register as Cocoons, but the Lurker Egg will not register as a Lurker Egg.





Feb 27 2023, 7:49 pm Ultraviolet Post #5



You can also circumvent those annoying quirks with EUDs (I use EUD Editor 2) by changing values under the StarEdit tab in the DatEditor:



The top image is the lurker egg's defaults, the bottom image is the lurker's settings which if you change the lurker egg's settings to match the lurkers, the lurker egg should behave more like a normal unit. I believe the conditions that matter here are the "Non-Location Triggers" and "Location Triggers" ones. Having those set will allow you to do more normal trigger operations on lurker eggs.



My Projects:

Impossible Ultraviolet | Impossible UV2 | Impossible UV3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City
It's a text-based MMORPG, kind of like GTA, and played from your browser. Sounds silly, but it's fun. I get a referral reward if you join after clicking my link. Let me know if you do, and if you make it to level 10, I'll send you the reward I get.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:32 pm]
Vrael -- everyone knows that
[03:32 pm]
Vrael -- IDGAF: Intentionally Depleted Galactic Ardor Frankfurters
[03:04 pm]
l)ark_ssj9kevin -- ok well I bought shoutbox color at one point so besides that
[03:03 pm]
l)ark_ssj9kevin -- I usually went negative when playing magic boxes
[03:02 pm]
l)ark_ssj9kevin -- I think this is the most minerals I've ever had
[12:59 pm]
Moose -- idgaf what idgaf means
[12:06 pm]
NudeRaider -- Vrael
Vrael shouted: even more cause for shame - he should know better!
you do know what idgaf means? :P
[12:03 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: im dumping some absolute essays into the SD so why aint my minerals going up??
not sc related
[2024-10-05. : 7:44 pm]
Vrael -- even more cause for shame - he should know better!
[2024-10-05. : 7:44 pm]
Oh_Man -- he's like 83, he prob in full old man idgaf mode
Please log in to shout.


Members Online: jun3hong, Roy