Staredit Network

Staredit Network -> UMS Assistance -> Crossing The Line
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 21:30:08
Alrighty here I go with another one of these topics but hey what can I say no one is a pro till they learn.
Okay.
I have a map made already and stuff but I want it so you cant cross the line in the middle.... I want your unit to die as soon as you touch it so its impossible to cross how would I do that with hyper triggers or without.
Please help
This is how my trigger looks.

Trigger
Players:
¤ Players 1-8
Conditions:
¤ Current player brings 1 Duncan@USEast to 'deathzone'.
Actions:
¤ Kill All Units @ Location 'deathzone' for current player.
¤ Preserve Trigger.
¤ \
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ Wait (0)
¤ etc etc


Alright well I did that isn't that hyper triggers?
You can cross still tho....
I had to put a wall there for now but it would be better if there was no wall.
Please Help
~ Faith ~
Report, edit, etc...Posted by Doodan on 2007-01-19 at 21:54:41
A hyper trigger consists of nothing but the condition always, and the 63 waits and a preserve trigger for actions (or 62 waits if you want to leave a slot for a comment). In other words, make a totally seperate trigger for the hyper triggers. They don't need to have other stuff mixed in with them. Make sure they belong to a computer player that doesn't have any other major jobs in the map (or no jobs at all, possibly... not 100% sure on that one).

You can make a location that's the length of the entire map, but only 1 grid space wide, and have it so that any unit that goes there is killed instantly, and preserve the trigger. That should work.
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:00:49
entire map??
Report, edit, etc...Posted by PCFredZ on 2007-01-19 at 22:05:12
QUOTE(FaithIsUponUs @ Jan 19 2007, 09:00 PM)
entire map??
[right][snapback]615650[/snapback][/right]

He means your "deathzone", which we're all assuming to be the whole length of the map straight through the middle.

Hyper triggers look like this, and the Condition should be Always. Make sure you read up about Wait Blocks as well.
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:05:57
I mean make the location 1 grid space wide, but as long as the entire map (or however long you're needing). Or as wide, etc. I don't know if this line needs to run from north to south or east to west. But it sounds like it can be done with a single location.
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:09:52
So your saying make the trigger in this format.
First: Put The Location Down

Then

Condition
Always;
Action
Kill All Units At Location For Current Player
Preserve Trigger
Wait 0
x62
?
Is this the right format?

I wanna use this for the 6 players playing on this map...
Would that cause wait blocks?
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:13:01
Get rid of the waits in that particular trigger and you've got it.
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:17:13
QUOTE(Doodan @ Jan 19 2007, 10:13 PM)
Get rid of the waits in that particular trigger and you've got it.
[right][snapback]615662[/snapback][/right]

The waits in the original trigger or the one in the post above you.
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:20:44
Both
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:23:03
I mean the one right above that one post not the top top but the bottom?

The bottom one seems more like it is that the one your talking about?
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:24:25
The 62 waits don't belong in the trigger that kills the units, period.
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:25:51
then are you sure that it will kill them instantly?
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:28:42
It will if you have the hyper trigger given to a computer player with no other wait triggers. Read the Hyper Triggers tutorial that PCFredZ posted.
Report, edit, etc...Posted by FaithIsUponUs on 2007-01-19 at 22:31:04
QUOTE(Doodan @ Jan 19 2007, 10:28 PM)
It will if you have the hyper trigger given to a computer player with no other wait triggers. Read the Hyper Triggers tutorial that PCFredZ posted.
[right][snapback]615676[/snapback][/right]


Hmm so your saying give the same exact trigger to a computer but with waits?
Report, edit, etc...Posted by Doodan on 2007-01-19 at 22:32:11
No, a hyper trigger is nothing but the waits. Read the tutorial. I'm not gonna type a bunch of paragraphs about Hyper Triggers that would ultimately be inferior to the tutorial.
Report, edit, etc...Posted by Falkoner on 2007-01-19 at 23:03:01
Simply make three triggers with nothing but waits for actions, there are no other actions in a hypertrigger, just waits, so you would have wait 0 milliseconds, copied 63 times, then preserve trigger, and that it it, then copy that trigger three times and make sure all three of them are at the bottom of the list. Now every trigger in your whole map will run 12 times per second rather than once every 2 seconds.
Report, edit, etc...Posted by PCFredZ on 2007-01-19 at 23:26:47
If you absolutely can't understand how to make hyper triggers:

Download this and import it into your map.
Next Page (1)