PDA

View Full Version : Tutorial: Hyper Triggers [StarCraft]


ImaGiNe.
08-05-2007, 11:49 PM
HYPER TRIGGERS:
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
Hyper triggers are the most useful method of utilizing wait actions, however what do they do and more importantly, how do I use them? Hyper triggers let your triggers fire off at a much faster rate than they normally would (12 times faster), which results in more complex and advanced triggers. Once you get the hang of hyper triggers, you will be glad you learned about it and you will be glad that you will implement what you have learned.

So let us begin with the tutorial!

Requirements:
- StarCraft Campaign Editor (Or any other alternative)
- * A Player without wait actions

Players:
- Player X*
Trigger Conditions:
- Always
Trigger Actions:
- Preserve trigger
- Comment. "Hyper Trigger"
- Wait 0 milliseconds
- Wait 0 milliseconds
- Wait 0 milliseconds
- Wait 0 milliseconds
- Wait 0 milliseconds
(Repeat this 57 more times or fill the action list with wait actions.)

I will post more about hyper triggers soon.

JBL
08-06-2007, 12:31 AM
The most important is:

- * A Player without wait actions


I often heard noobs saying that their hypertriggers didn't work corectly... and that was because their computer player ran other triggers with waits in it..

Also you might prefer a computer player over a human player even if this one has no wait triggers because if the human player isn't in the game, the hypers won't be there!

Shadowdragon
08-07-2007, 09:23 PM
I haven’t seen hyper triggers used on any of the maps I’ve ever played. Can you tell me an example map where it was used? Or better yet, show a trigger where it was needed?

danhillman693
08-08-2007, 01:34 AM
Yeah, I use hyper triggers whenever I make a map which plays a WAV when you lose, because if you don't, it will be too late, I don't know why, but it won't play if you just make the actions like:

End scenario in defeat for current player
Play WAV file

ImaGiNe.
08-08-2007, 02:35 AM
I haven’t seen hyper triggers used on any of the maps I’ve ever played. Can you tell me an example map where it was used? Or better yet, show a trigger where it was needed?

You would not notice if hyper triggers are present, unless of course you view through the triggers and/or are the creator of the map. But to name a few maps that contain hyper triggers, there is Particle Arena, Laser Tag v3, numerous bounds, etc. etc.


Yeah, I use hyper triggers whenever I make a map which plays a WAV when you lose, because if you don't, it will be too late, I don't know why, but it won't play if you just make the actions like:
There is a wait block. That is usually the case when something fires off later.

JBL
08-08-2007, 06:57 PM
To Shadowdragon:

I would suggest using hyper triggers in any map. really. and they are pretty much in every decent map.. in my book a map without hyper triggers is pure ****.

for a good example of a trigger that NEEDS it to work, read my tutorial about grid system.

another good example are the bound maps.. without hypertriggers they aren't working.

ArchaicDrago
10-16-2008, 01:14 AM
So if there are any wait triggers other than the hypertrigger.. The hypertrigger wont work?

ImaGiNe.
10-16-2008, 01:36 AM
Nope! The hyper trigger will be working but any other trigger with wait actions are delayed a lot. Say for example, you have a Wait for 1,200 milliseconds. That 1,200 milliseconds turns into an extremely long delay. I forget the math with this because Moogle was the one that showed me.

ArchaicDrago
10-16-2008, 01:37 AM
So i CANT add a hyper trigger to my RPG i made? :( cause i have wait timers.

But its now 100% complete if u wanna take a look at it let me know ( i added a 7th class, Caster Class )

ImaGiNe.
10-16-2008, 01:40 AM
Well adding in hyper triggers after the fact that you already placed wait actions in other trigger will either make or break your RPG. Hyper triggers are volatile and its almost essential to pre-place them before anything else. You could try putting in hyper triggers and see how screwed everything becomes just to experiment with them.

ArchaicDrago
10-16-2008, 01:41 AM
Yeah i could do that lol..

And how do i upload maps again? ............... i never do stuff like this.. so i forgot

ImaGiNe.
10-16-2008, 01:43 AM
When you post a message, look just a little below the text input area and you will see a little button that says Manage Attachments. Click on that and it should open up a pop-up window with the File Upload form.

ArchaicDrago
10-16-2008, 01:54 AM
Mmkay. Hope this works.

I fixed a few errors and all that in it too.. It runs really nice.

The computer doesnt sit there n gather minerals and go DUrrrrrrrrrrrrrrrrrrrRRRrrrrrrrrrrrrr.......!!1111 11111111

It actually does stuff now!