Staredit Network

Staredit Network -> UMS Assistance -> Mineral Chunk trigger
Report, edit, etc...Posted by Halphonse on 2006-07-10 at 21:14:50
In my Defence there are a bonus level, there are preplaced mineral chunk but they dont move. This is the trigger:

Trigger("Player 1","Player 2","Player 3","Player 4","Player 5","Player 6","Player 8")

Conditions:
Switch("Level 20", set);
Deaths("Player 8", "Protoss Probe", Exactly, 1);

Actions:
Set Switch("Pause 20", set);
Set Switch("Level 20", clear);
Play WAV("staredit\\wav\\Bonus.wav", 1964);
Comment("Set Level Pause/20");

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
Switch("Bonus", set);

Actions:
Move Unit("Player 8", "Any unit", All, "Start", "Bonus 1");
Move Unit("Player 8", "Any unit", All, "Bonus 1", "Bonus 2");
Move Unit("Player 8", "Any unit", All, "Bonus 2", "Bonus 3");
Move Unit("Player 8", "Any unit", All, "Bonus 3", "Bonus 4");
Move Unit("Player 8", "Any unit", All, "Bonus 4", "Bonus 5");
Move Unit("Player 8", "Any unit", All, "Bonus 5", "Bonus 6");
Move Unit("Player 8", "Any unit", All, "Bonus 6", "Bonus 7");
Move Unit("Player 8", "Any unit", All, "Bonus 7", "Bonus 8");
Move Unit("Player 8", "Any unit", All, "Bonus 8", "Bonus 9");
Move Unit("Player 8", "Any unit", All, "Bonus 9", "Bonus 10");
Move Unit("Player 8", "Any unit", All, "Bonus 10", "Bonus 11");
Move Unit("Player 8", "Any unit", All, "Bonus 11", "Bonus 12");
Move Unit("Player 8", "Any unit", All, "Bonus 12", "Bonus 13");
Move Unit("Player 8", "Any unit", All, "Bonus 13", "Bonus 14");
Move Unit("Player 8", "Any unit", All, "Bonus 14", "Bonus 15");
Move Unit("Player 8", "Any unit", All, "Bonus 15", "Bonus 16");
Move Unit("Player 8", "Any unit", All, "Bonus 16", "Bonus 17");
Move Unit("Player 8", "Any unit", All, "Bonus 17", "Bonus 18");
Move Unit("Player 8", "Any unit", All, "Bonus 18", "Bonus 19");
Move Unit("Player 8", "Any unit", All, "Bonus 19", "Bonus 20");
Move Unit("Player 8", "Any unit", All, "Bonus 20", "Bonus 21");
Move Unit("Player 8", "Any unit", All, "Bonus 21", "Bonus 22");
Move Unit("Player 8", "Any unit", All, "Bonus 22", "Bonus 23");
Move Unit("Player 8", "Any unit", All, "Bonus 23", "Bonus 24");
Move Unit("Player 8", "Any unit", All, "Bonus 24", "Bonus 25");
Move Unit("Player 8", "Any unit", All, "Bonus 25", "Bonus 25");
Move Unit("Player 8", "Any unit", All, "Bonus 25", "Bonus 26");
Move Unit("Player 8", "Any unit", All, "Bonus 26", "Bonus 27");
Move Unit("Player 8", "Any unit", All, "Bonus 27", "Bonus 28");
Move Unit("Player 8", "Any unit", All, "Bonus 28", "Bonus 29");
Move Unit("Player 8", "Any unit", All, "Bonus 29", "Bonus 30");
Move Unit("Player 8", "Any unit", All, "Bonus 30", "Bonus 31");
Move Unit("Player 8", "Any unit", All, "Bonus 31", "Bonus 32");
Move Unit("Player 8", "Any unit", All, "Bonus 32", "Bonus 33");
Move Unit("Player 8", "Any unit", All, "Bonus 33", "Bonus 34");
Move Unit("Player 8", "Any unit", All, "Bonus 34", "Bonus 35");
Move Unit("Player 8", "Any unit", All, "Bonus 35", "Bonus 36");
Move Unit("Player 8", "Any unit", All, "Bonus 36", "Bonus 37");
Move Unit("Player 8", "Any unit", All, "Bonus 37", "Bonus 38");
Move Unit("Player 8", "Any unit", All, "Bonus 38", "Bonus 39");
Move Unit("Player 8", "Any unit", All, "Bonus 39", "Bonus 40");
Move Unit("Player 8", "Any unit", All, "Bonus 40", "Bonus 41");
Move Unit("Player 8", "Any unit", All, "Bonus 41", "Bonus 42");
Move Unit("Player 8", "Any unit", All, "Bonus 42", "Bonus 43");
Move Unit("Player 8", "Any unit", All, "Bonus 43", "Bonus 44");
Move Unit("Player 8", "Any unit", All, "Bonus 44", "Bonus 45");
Move Unit("Player 8", "Any unit", All, "Bonus 45", "Bonus 46");
Move Unit("Player 8", "Any unit", All, "Bonus 46", "Bonus 47");
Move Unit("Player 8", "Any unit", All, "Bonus 47", "Bonus 48");
Move Unit("Player 8", "Any unit", All, "Bonus 48", "Bonus 49");
Move Unit("Player 8", "Any unit", All, "Bonus 49", "Bonus 50");
Move Unit("Player 8", "Any unit", All, "Bonus 50", "Bonus 51");
Move Unit("Player 8", "Any unit", All, "Bonus 51", "Bonus 52");
Move Unit("Player 8", "Any unit", All, "Bonus 52", "Bonus 53");
Move Unit("Player 8", "Any unit", All, "Bonus 53", "Bonus 54");
Move Unit("Player 8", "Any unit", All, "Bonus 54", "Bonus 55");
Move Unit("Player 8", "Any unit", All, "Bonus 55", "Bonus 56");
Move Unit("Player 8", "Any unit", All, "Bonus 56", "Mineral for Bonus");
Wait(2000);
Comment("Bonus");

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
Switch("Bonus", set);

Actions:
Move Unit("All players", "Any unit", 1, "Mineral for Bonus", "Start");
Wait(2000);
Preserve Trigger();
Comment("Bonus");

//-----------------------------------------------------------------//

Trigger("Player 8"){
Conditions:
Countdown Timer(At least, 1);
Countdown Timer(At most, 4);
Switch("Bonus", set);

Actions:
Set Switch("Bonus", clear);
Set Countdown Timer(Set To, 120);
Comment("Clear Bonus/20");
Set Switch("Bonus 1 End", set);

//-----------------------------------------------------------------//

Trigger("Player 1","Player 2","Player 3","Player 4","Player 5","Player 6","Player 8")

Conditions:
Countdown Timer(At least, 1);
Countdown Timer(At most, 4);
Switch("Pause 20", set);
Bring("Player 8", "Mineral Chunk (Type 1)", "Move", Exactly, 0);
Switch("Bonus", not set);
Switch("Bonus 1 End", set);

Actions:
Set Switch("Pause 20", clear);
Set Switch("Level 21", set);
Set Countdown Timer(Set To, 120);
Comment("Set Level 21 Clear pause/20");
Set Switch("Bonus 1 End", clear);

//-----------------------------------------------------------------//

The mineral chunk move from Mineral for Bonus(location) to Start(location) but after they dont move to bunus 1, bonus 2...
I use Mineral Chunk (Type 1)
*I Copy/Paste from the trigger editor plugin of Scmdraft 2.0
Report, edit, etc...Posted by KinG_JaKe on 2006-07-10 at 21:31:49
You need to edit your post if you want anyone to comment on it. Tell us what ur doing, tell us what went wrong, ask the question, then copy all ur triggers. Right now I can't even tell what the question is and I'm not gonna read through that many triggers without knowing what I'm looking for. So plz re-edit ur post.
Report, edit, etc...Posted by Noober on 2006-07-10 at 21:35:00
Your action order moves it from 1 to 2, then 2 to 3, etc. In the end, they will all be moved to Mineral for bonus. You should reverse the actions order: start with 56 to mineral for bonus, then 55 to 56, and so on.
Report, edit, etc...Posted by Fwop_ on 2006-07-10 at 21:40:43
Why don't you just try adding waits between all the moves so it won't move them all instantly....
Report, edit, etc...Posted by Noober on 2006-07-10 at 21:49:44
QUOTE(Fwop_ @ Jul 10 2006, 09:40 PM)
Why don't you just try adding waits between all the moves so it won't move them all instantly....
[right][snapback]521632[/snapback][/right]

Uh, if you move from 1 to 2, wait for a while, then move from 2 to 3, it's still not leaving them at 2.
Report, edit, etc...Posted by Halphonse on 2006-07-11 at 21:46:05
If i add waits between all the moves it will only move 1 mineral chunk but i want to move like 100 mineral chunk.

ADDITION:
Ok i make a version of my map with only the bonus trigger.
Next Page (1)