Staredit Network

Staredit Network -> UMS Assistance -> Bound Help
Report, edit, etc...Posted by rapXeon on 2006-04-17 at 20:36:19
Well as any bound map, if you go under the unit when it explodes, you die.
Can someone PLEASE explain how to make a trigger so that it does that.
I want to make a bound map but don't know the triggers to do that.
Report, edit, etc...Posted by Tuxedo Templar on 2006-04-17 at 20:53:56
QUOTE(rapXeon @ Apr 17 2006, 07:35 PM)
Well as any bound map, if you go under the unit when it explodes, you die.
Can someone PLEASE explain how to make a trigger so that it does that.
I want to make a bound map but don't know the triggers to do that.
[right][snapback]467573[/snapback][/right]

Kill unit at location. Just use the same location you used for the explosion, in the same trigger.
Report, edit, etc...Posted by rapXeon on 2006-04-17 at 21:02:42
but wouldnt that just make it so that when you run through the location with your unit, you automatically die if theres no explosion?
Report, edit, etc...Posted by KaboomHahahein on 2006-04-17 at 21:06:25
No, you just make a trigger that creates and kills the unit in the location at the same time. So if the create trigger does not fire that will mean the kill trigger won't fire as well.

Take a look at the triggers in this unprotected bound
http://www.staredit.net/index.php?download=2195
Report, edit, etc...Posted by XMercury on 2006-04-17 at 21:43:34
Here's a suggestion;

Every time you kill a bound unit at a location, set a switch to Set. Lets call it Switch 1. Directly after the switch, make a Wait trigger, that waits for like 10 milliseconds, then clear the switch. This wait trigger allows your other triggers to run during the switch on and off. So, it would look something like this;

- - - TRIGGER 1 - - -

CONDITIONS;
(You choose)
ACTIONS;
Create 1 bound unit at "bound 1" for computer
Set switch 1
Wait 10 milliseconds
Clear switch 1
(Other actions here, such as possible waits and preserve triggers)

- - - TRIGGER 2 - - -

CONDITIONS;
If switch 1 is set
ACTIONS;
Kill all any unit for human players at "bound 1"
Preserve trigger
Report, edit, etc...Posted by JaFF on 2006-04-18 at 06:32:08
have a location with size as you want. the trigger will be:

players: players you want

condition: level is working

actions: create 1 wraith for PC player at location "x"
kill all (any unit)/(men) for all players at location "x"

(these 2 actions create & kill a wraith at a location. if you are in that location when the wraith gets killed, you allso die.)

combine those triggers with waits & other locations to get a level done.
Report, edit, etc...Posted by XMercury on 2006-04-18 at 15:26:40
QUOTE(Jammed @ Apr 18 2006, 04:31 AM)

actions: create 1 wraith for PC player at location "x"
            kill all (any unit)/(men) for all players at location "x"

combine those triggers with waits & other locations to get a level done.
[right][snapback]467830[/snapback][/right]


He's right. LOL I don't know what I was thinking. Simple is better.
Report, edit, etc...Posted by Toothfariy on 2006-04-18 at 17:06:03
QUOTE(Jammed @ Apr 18 2006, 04:31 AM)
have a location with size as you want. the trigger will be:

players: players you want

condition: level is working

actions: create 1 wraith for PC player at location "x"
            kill all (any unit)/(men) for all players at location "x"

(these 2 actions create & kill a wraith at a location. if you are in that location when the wraith gets killed, you allso die.)

combine those triggers with waits & other locations to get a level done.
[right][snapback]467830[/snapback][/right]

condition should be used by switches but that the idea
Report, edit, etc...Posted by YoHeyYoNab on 2006-04-18 at 20:14:10
QUOTE(rapXeon @ Apr 17 2006, 06:35 PM)
Well as any bound map, if you go under the unit when it explodes, you die.
Can someone PLEASE explain how to make a trigger so that it does that.
I want to make a bound map but don't know the triggers to do that.
[right][snapback]467573[/snapback][/right]

thats easy ill help u my battle net acount is Saber_Dragon add me and wishper to me
Next Page (1)