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.
[01:13 pm]
Oh_Man -- NimoStar
NimoStar shouted: yes, all animations for protoss and zerg should be there, unless I missed any
daymn, impressive
[12:03 pm]
NudeRaider -- define "completely fucked" - could also be a good thing :teach:
[04:23 am]
NimoStar -- yes, all animations for protoss and zerg should be there, unless I missed any
[12:43 am]
Moose -- Dem0n
Dem0n shouted: Moose, you ever go to sleep knowing that you're completely fucked for the next day? I do it every night.
tbh
[2026-8-13. : 4:20 pm]
Oh_Man -- did you give all animations for researching/recruiting buildings for protoss and zerg?
[2026-8-13. : 1:52 pm]
NimoStar -- prerelease of improves 1.16.1
[2026-8-13. : 1:51 pm]
NimoStar -- www.moddb.com/mods/ultimate-starcraft-age-of-darkness/downloads/ultimate-starcraft-age-of-darkness-secret-beta-release
[2026-8-13. : 3:03 am]
Symmetry -- Roy the way the screen moves hurts my eyes but otherwise it plays remarkably well
[2026-8-12. : 5:23 pm]
Roy -- Moose
Moose shouted: Just made? I thought we had that years ago
"We have Super Mario at home."
[2026-8-11. : 4:44 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy