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.
[02:53 am]
Ultraviolet -- :wob:
[2026-11-27. : 10:21 am]
Zycorax -- :wob:
[2026-11-27. : 9:46 am]
UndeadStar -- :wob:
[2026-11-27. : 3:45 am]
Symmetry -- :wob:
[2026-11-24. : 7:28 pm]
Mr.BurnLiquid -- Thanks
[2026-11-24. : 7:17 pm]
NudeRaider -- you can't, just edit.
[2026-11-24. : 6:33 pm]
Mr.BurnLiquid -- Hi, how do I delete posts I’ve made? I was practicing with map editing or at least working with existing maps but I’d like to delete them; I’ve since refined my style and want to start fresh with new posts.
[2026-11-21. : 7:14 pm]
Symmetry -- so it shows the version history of temple siege
[2026-11-21. : 7:13 pm]
Symmetry -- I think he's trying to find the most popular versions of maps
[2026-11-21. : 9:24 am]
UndeadStar -- yes it helped...but I didn't understand what the picture was about lol
Please log in to shout.


Members Online: Roy, Ankial