So i get the basic concept of triggers and how they work, i could work my way through the sc1 map editor well enough. My problem is finding the right triggers for the job and being able to tweak them in the new sc2 editor. For instance i know how basically how to create a trigger saying when a player brings a unit to a region 'such and such' happens, but i cant figure out how to pick out the specific unit, rather than leaving it as "any unit." This is probably the first stupid question in a long line of stupid questions ;)
Also i have a repeating timer set for 300 seconds real time as an action in the game launch trigger, but i want to build triggers off of that timer.. but u cant build actions off actions...?
You're looking for a way to fire a trigger when a certain unit type enters a region, correct?
In which case, you then use the "Unit enters region" event and then add a comparison condition that checks if the unit type of the triggering unit is so-and-so unit type.
EDIT: I know you said "specific unit", but I assumed that since "Player brings an unit to location" conditions in SC1 checked for unit types... well, here ya go.
Patience and practice are the best way to learn how to use the editor. Pull apart one of Blizzard's campaign maps where you remember seeing something you would like to replicate to see how they did it. There are also plenty of tutorials around on the trigger editor basics, have a look around ;)
"Also i have a repeating timer set for 300 seconds real time as an action in the game launch trigger, but i want to build triggers off of that timer.. but u cant build actions off actions...?
-Twitch"
You mean you want to make a trigger fire every 300 seconds? Use a periodic event. That, or a timer expires event.
If you want a specific unit, rather than just a unit type, then instead of using "Any Unit" Open up the dialog go to value and it will list all the units on your map.
SC2Mapster can be a huge, huge help for Galaxy Editing but no matter how well done a tutorial is, there's no real substitute for actually going into the Editor and messing around and making mistakes. I recommend checking out OneTwo's YouTube page, he has excellent video tutorials from the most basic to fairly advanced. Get yourself comfortable with the Editor, and then try doing something hard like a WASD movement system or something which will let you experiment with a lot of different elements (ie: variables of different types, If-Then-Else actions, conditions of all kinds, etc etc)
Now, to your questions:
What OneSoga said is probably the best way to identify the triggering unit and "pick it". You can also create Unit variables and in a separate trigger assign x unit to that variable, ie: in the Campaign maps, Raynor was always assigned to a "Raynor" Unit variable... so any actions involving him looked like:
I don't remember much of the Editor from SC1, but in Galaxy Editor you have the "Run Trigger" action which can run actions off of actions. So that when your 300 second timer expires, Run Trigger: Load Next Timer, (Wait Until it Finishes) which means it'll call up another trigger you've created and wait (or don't) until all actions in that trigger have finished before moving on. So you could setup your timers in a cascading effect like that... in each new trigger start a new timer. But there's probably a million ways to accomplish what you're trying to do. :)
What I usually do if I'm experimenting with new triggers is create a Test Map, very small like 56x56, set preferences to "Run In Window" and set up all my triggers in this map... this cuts down on loading time, and this way you can test the triggers you want to without having to sift through all your other stuff. gl hf :)
So i get the basic concept of triggers and how they work, i could work my way through the sc1 map editor well enough. My problem is finding the right triggers for the job and being able to tweak them in the new sc2 editor. For instance i know how basically how to create a trigger saying when a player brings a unit to a region 'such and such' happens, but i cant figure out how to pick out the specific unit, rather than leaving it as "any unit." This is probably the first stupid question in a long line of stupid questions ;)
Also i have a repeating timer set for 300 seconds real time as an action in the game launch trigger, but i want to build triggers off of that timer.. but u cant build actions off actions...?
-Twitch
@thetwitch1812: Go
You're looking for a way to fire a trigger when a certain unit type enters a region, correct?
In which case, you then use the "Unit enters region" event and then add a comparison condition that checks if the unit type of the triggering unit is so-and-so unit type.
EDIT: I know you said "specific unit", but I assumed that since "Player brings an unit to location" conditions in SC1 checked for unit types... well, here ya go.
Patience and practice are the best way to learn how to use the editor. Pull apart one of Blizzard's campaign maps where you remember seeing something you would like to replicate to see how they did it. There are also plenty of tutorials around on the trigger editor basics, have a look around ;)
Tutorial list: http://wiki.sc2mapster.com/galaxy/tutorials/
"Also i have a repeating timer set for 300 seconds real time as an action in the game launch trigger, but i want to build triggers off of that timer.. but u cant build actions off actions...?
-Twitch"
You mean you want to make a trigger fire every 300 seconds? Use a periodic event. That, or a timer expires event.
If you want a specific unit, rather than just a unit type, then instead of using "Any Unit" Open up the dialog go to value and it will list all the units on your map.
@thetwitch1812: Go
SC2Mapster can be a huge, huge help for Galaxy Editing but no matter how well done a tutorial is, there's no real substitute for actually going into the Editor and messing around and making mistakes. I recommend checking out OneTwo's YouTube page, he has excellent video tutorials from the most basic to fairly advanced. Get yourself comfortable with the Editor, and then try doing something hard like a WASD movement system or something which will let you experiment with a lot of different elements (ie: variables of different types, If-Then-Else actions, conditions of all kinds, etc etc)
Now, to your questions:
What I usually do if I'm experimenting with new triggers is create a Test Map, very small like 56x56, set preferences to "Run In Window" and set up all my triggers in this map... this cuts down on loading time, and this way you can test the triggers you want to without having to sift through all your other stuff. gl hf :)