Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Need help with a kill trigger
Need help with a kill trigger
May 6 2008, 11:54 pm
By: Cheathunta  

May 6 2008, 11:54 pm Cheathunta Post #1



i just made a cool map. The map is divided by water with a little strip of land in the middle. How do i make so that all units that cross this space will die until a 15 min time limit runs out?



None.

May 6 2008, 11:59 pm Brontobyte Post #2



Quote from Cheathunter
i just made a cool map. The map is divided by water with a little strip of land in the middle. How do i make so that all units that cross this space will die until a 15 min time limit runs out?

TRIGGER:

Conditions:
Current Player brings at least 1 any unit to "Over Water"
Count Down timer is at least 0 game seconds
Count Down timer is at most 900 game seconds

Actions:
Kill all any unit owned by current player location "Over Water"
Preserve

Current Player = Players who's units you don't want over this water area.
Over Water = Location over top of the watery area that you don't want units over.

:D

You also must have a Count Down timer set to count to 900 seconds (15 min) for this to fire.



None.

May 7 2008, 12:03 am Cheathunta Post #3



Quote from Brontobyte
Quote from Cheathunter
i just made a cool map. The map is divided by water with a little strip of land in the middle. How do i make so that all units that cross this space will die until a 15 min time limit runs out?

TRIGGER:

Conditions:
Current Player brings at least 1 any unit to "Over Water"
Count Down timer is at least 0 game seconds
Count Down timer is at most 900 game seconds

Actions:
Kill all any unit owned by current player location "Over Water"
Preserve

Current Player = Players who's units you don't want over this water area.
Over Water = Location over top of the watery area that you don't want units over.

:D

You also must have a Count Down timer set to count to 900 seconds (15 min) for this to fire.




I already did. Thanks a lot man.



None.

May 7 2008, 12:22 am Vrael Post #4



Is this problem solved? Or do you still need help?



None.

May 7 2008, 12:24 am Cheathunta Post #5



Quote from Vrael
Is this problem solved? Or do you still need help?


Nope, im ok.



None.

May 7 2008, 12:44 am Cheathunta Post #6



Sorry for double post, but when the time limit ends, the units crossing the bridge still die. How do i make it so that when the 15 min time limit ends, units crossing the bridge wont die?



None.

May 7 2008, 1:08 am Brontobyte Post #7



You hav4e to mess around with the time combinations in the condition. What I mean is that where I have at least and at most you have to reverse these times or add/subtract them. I can't think of the right combination at the moment but it should cancel it self when the times up.

TRIGGER:
Conditions:
Current Player Brings At Least 1 Any Unit To Over Water
Count Down Timer Is At Least 1 Game Seconds

Actions:
Kill All Any Unit At Over Water
Preserve

The one second time and at least will fire the trigger when a player (one of the owners of the trigger) brings a unit the location over the water and if the count down timer has at least 1 game second on it. This means that when the count down timer reaches 0, the trigger will not fire. :D I'm pretty sure that this will solve your problem with the current information you gave. :)



None.

May 7 2008, 1:40 am Cheathunta Post #8



Quote from Brontobyte
You hav4e to mess around with the time combinations in the condition. What I mean is that where I have at least and at most you have to reverse these times or add/subtract them. I can't think of the right combination at the moment but it should cancel it self when the times up.

TRIGGER:
Conditions:
Current Player Brings At Least 1 Any Unit To Over Water
Count Down Timer Is At Least 1 Game Seconds

Actions:
Kill All Any Unit At Over Water
Preserve

The one second time and at least will fire the trigger when a player (one of the owners of the trigger) brings a unit the location over the water and if the count down timer has at least 1 game second on it. This means that when the count down timer reaches 0, the trigger will not fire. :D I'm pretty sure that this will solve your problem with the current information you gave. :)



I cant thank you enough. It worked. thanks alot *gives Brontobyte cookie*

Post has been edited 1 time(s), last time on May 7 2008, 1:47 am by Cheathunter.



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: Revenant