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.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Oh_Man