Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Any Unit Dies - Unit type?
[Solved] Any Unit Dies - Unit type?
This topic is locked. You can no longer write replies here.
Sep 4 2010, 12:25 pm
By: Deev  

Sep 4 2010, 12:25 pm Deev Post #1



I'm trying to create an event that triggers when a unit type dies, but how do I pull that of. I can't assign the unit that dies, to a specifik unit, since there will be spawning more. I tried to make a variable of (Unit Type) and assign it to (Drones) but I can't select that in the "[Any] unit die" -- I'm sure this is a simple thing to do if you know how :)



None.

Sep 4 2010, 1:39 pm Riney Post #2

Thigh high affectionado

Code
Drone Dies
   Events
       Unit - (Triggering unit) dies
   Local Variables
   Conditions
       (Unit type of (Triggering unit)) == Drone
   Actions


Or in other words.

Event
Unit - Unit Dies

Condition
Unit - Unit type of unit

Then fill in the parameters as shown above, then make it do your actions.



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:35 pm]
Symmetry -- though mine's probably worse
[03:35 pm]
Symmetry -- That certainly sounds similar to what I've made
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
Please log in to shout.


Members Online: Symmetry