I need a trigger that will allow me to use the same region as the end of my game level many times.
What the triggers need to do is alot like how sc1 used switches so you could use the same location without have all triggers for the location to go at once.
None.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
It's called boolean (it's true or false which equals set or unset or equals 1 or 0).
A switch in SC1 was nothing else than a boolean.
Btw, you can enable and disable triggers during runtime. That may be a better implementation.
Yeah, disabling and re-enabling triggers is probably the easiest way. On each new round (or whatever it is), disable to trigger that acts for the old round and enable the trigger for the new round.
If you wanted them all in one trigger however, you can use the "Switch" action, with some variable like "CurrentRound", which is the current round the game is on. A switch is just like a bunch of "if then" statements, so you would code it accordingly, something like:
General - Switch (Actions) depending on Current Round
Cases
General - If (1)
Actions
------- Actions for round 1 ------
General - If (2)
Actions
------- Actions for round 2 ------
General - If (3)
Actions
------- Actions for round 3 ------
General - If (4)
Actions
------- Actions for round 4 ------
------- Etc ------
Default
Which would also work just as well.
None.
I tried that couldn't get it working :S
Even tried running test document on your map and it doesn't work.
None.
I tried that couldn't get it working :S
Even tried running test document on your map and it doesn't work.
You're right, it doesn't work. Though I wonder why.
Anyone could tell me why it wouldn't work? The triggers make sense to me. ;o
None.
You don't have any events in Level 1 or Level 2, or any other trigger that runs them
None.
What did I do wrong? It won't spawn the zealot
None.
Does any part of that trigger run? I don't think that (Picked Unit) is valid for an event, but I could be mistaken.
None.
Does any part of that trigger run? I don't think that (Picked Unit) is valid for an event, but I could be mistaken.
It does run but I figured out a better way to make the trigger, RESOLVED.
None.
You don't have any events in Level 1 or Level 2, or any other trigger that runs them
I thought a Condition could act as an Event.
So huh, I should've made "Map Initialization" and an If...Then...Else with the statements of my level-triggers?
None.
Well, Map Initialization is only run once, at the start of the map. As far as I'm aware, the event has to fire before the trigger can run, a conditions is just a way of limiting when the trigger can run, for instance, if a certain conditions isn't met, but the event still happens.
The easiest way would probably just run them from the level-up trigger via the "Run trigger" action.
None.