Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: activating triggers right when the unit dies
activating triggers right when the unit dies
Nov 21 2009, 3:25 am
By: destroyerwin  

Nov 21 2009, 3:25 am destroyerwin Post #1



can someone teach me how does the trigger work when:
the trigger activates right on the spot where the unit dies



None.

Nov 21 2009, 3:31 am Falkoner Post #2



Constantly center a location on the unit that is going to die, the condition for the centering should be If Player x Brings at least 1 Unit to Anywhere, and make sure there is a trigger before it has one of the following as the last action, even if it doesn't do anything: Kill Unit, Kill Unit at Location, Remove Unit, Remove Unit At Location, Move Location, Move Unit.
This is to ensure that Bring is updated properly, otherwise the location may be moved to the center of the map.

Now, you detect when the unit dies with the Deaths condition, and then do your trigger at the location that was following it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: Wing Zero, Moose, Excalibur