Staredit Network

Staredit Network -> UMS Assistance -> Levels
Report, edit, etc...Posted by hOOt3rs on 2005-03-15 at 14:18:15
what is the easiest way to make levels? like i want level one to bring marines from location x to location y... and level 2 to bring firebats from loc x to loc y but instead of level 2 waiting for all level 1 to be killed it goes anyway... wahts the problem here? ranting.gif
Report, edit, etc...Posted by LegacyWeapon on 2005-03-15 at 14:38:48
You need a switch that doesn't start level 2 until the "Running" switch is cleared.
This "Running" switch tells the triggers when a trigger is running. Since you cannot immediately stop level 1, you need to clear the switch when level 1 ends. Then when it is clear, run level 2. Make sure players cannot cheat by placing some sort of barrier device.
Report, edit, etc...Posted by AqoTrooper on 2005-03-15 at 14:39:41
There's another way to do that -

Choose a deathcounter for a unit that won't die in the game and set it to 1 in the beggining.

Than just add '1' to that counter every time you reach the ending location of a level.

For every level, add a condition of '[your deathcoubter] is exactly 1' , '[your deathcoubter] is exactly 2' etc according to the levels, so that they'll run only at the right time.
Report, edit, etc...Posted by LegacyWeapon on 2005-03-15 at 14:49:21
I'm pretty sure he is asking about waiting for levels to completely end before running the next one.

Triggers will finish all their actions once they have begun initiation.

I posted this for a reason:
http://www.staredit.net/index.php?showtopic=10533
Report, edit, etc...Posted by KaboomHahahein on 2005-03-15 at 15:02:31
Or if you really don't know how to use swithes or death counters. You can use another way like after every level you add 1 mineral to the computers money. So then the next trigger will work once more minerals/gas has been added.
Report, edit, etc...Posted by hOOt3rs on 2005-03-15 at 15:45:31
QUOTE(KaboomHahahein @ Mar 15 2005, 02:02 PM)
Or if you really don't know how to use swithes or death counters. You can use another way like after every level you add 1 mineral to the computers money. So then the next trigger will work once more minerals/gas has been added.
[right][snapback]165304[/snapback][/right]



Very easy and noobish way to do it.. great idea! .. thanx !
Report, edit, etc...Posted by terrenblade on 2005-03-15 at 22:24:07
Or, for a quicker and dirtier way.

add a action and a two conditions to each level, the action "set deaths of 'level X' to 0" the first condition, "targets suffered atleast one death of 'level X'" "targest commands exactly 0 'level X'"

with 'level X' being the unit used in the last level.

easyer then anything, and you can use resorces for outher stuff.
Report, edit, etc...Posted by LegacyWeapon on 2005-03-15 at 22:29:53
Using the kill trigger action does not contribute to death count.
Next Page (1)