Staredit Network

Staredit Network -> UMS Assistance -> Level Starting Problems
Report, edit, etc...Posted by joker2kill on 2006-01-26 at 17:30:43
ok, so i have a quick but not simple (atleast for me) question. How can you bring the unit in a defence to start the level(in this case a DA) to the same location but each time it goes up a level. Like as everytime you bring it there it goes and starts the next lvl. But not the same one over and over again.
Report, edit, etc...Posted by Fwop_ on 2006-01-26 at 17:45:37
You will need to have separate conditions for ea[
ch trigger. You could use death counters, so when the DA is moved to start, it detects which level it is on. So, have a trigger that happens at start of the game and make it set the death to 1 for an unused unit. Then each time the DA is moved, add 1 to that same unit and spawn the units. So it should look like this.

Trigger
Conditions:
¤ Current Player brings exactly 1 DA to Start
¤ *Current Player has suffered exactly 1 deaths of Unused Unit*
Actions:
¤ Move DA from Start to Back
¤ Spawn Units
¤ Set Deaths for Unused Unit to: Add 1


*You could also use minerals, vespene gas, leaderboard, etc.*

You don't have to make the death count start on 1, it's just easier to know the level by doing that.

Hope this helps.
Report, edit, etc...Posted by joker2kill on 2006-01-26 at 17:55:20
so if im going to use it for leaderboards, i just replace "set death" with set score? ok i think i got it, and yah that helps wink.gif


how on the leaderbords, can i make it just P1, and P4?
Report, edit, etc...Posted by nimadude on 2006-01-26 at 18:58:01
QUOTE(joker2kill @ Jan 26 2006, 02:55 PM)
so if im going to use it for leaderboards, i just replace "set death" with set score? ok i think i got it, and yah that helps wink.gif
how on the leaderbords, can i make it just P1, and P4?
[right][snapback]413721[/snapback][/right]


I think you understood it wrong.. Think of the death counters as switches, use them as switches.
Report, edit, etc...Posted by joker2kill on 2006-01-27 at 19:54:16
QUOTE(nimadude @ Jan 26 2006, 03:58 PM)
I think you understood it wrong.. Think of the death counters as switches, use them as switches.
[right][snapback]413840[/snapback][/right]


well couldnt you just do
Trigger
Conditions:
¤ bring 1'da' to 'go'
Actions:
¤ setscore 'add one custom'


Trigger
Conditions:
¤ score is '1'
Actions:
¤ wait(1000)
¤ create 1 'unit' at 'start' and so on with 2-3-4-5-6-7......
Next Page (1)