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.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy