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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:48 am]
RIVE -- j
[10:41 pm]
lil-Inferno -- p
[2024-11-07. : 7:38 pm]
Zoan -- M
[2024-11-07. : 11:26 am]
Zycorax -- F
[2024-11-06. : 7:31 pm]
O)FaRTy1billion[MM] -- L
[2024-11-06. : 9:45 am]
TF- -- Blumph win :wob:
[2024-11-06. : 3:43 am]
da real donwano -- Who can crack into an old protected map & remove the trigger for insta-defeat for playing solo?
[2024-11-04. : 3:21 am]
Ultraviolet -- surprised it runs at all anymore
[2024-11-04. : 3:21 am]
Ultraviolet -- DLDB is fucked
[2024-11-04. : 12:00 am]
1nFectEd -- cant seem to erase old versions of my map that i uploaded?
Please log in to shout.


Members Online: Zycorax, Roy