Staredit Network

Staredit Network -> UMS Assistance -> Bound Trigger Help
Report, edit, etc...Posted by Mossinat3r on 2007-01-15 at 15:12:36
Hey I am making a bound and i need help with some triggers. I have made bounds before, but none with obstacles with over 64 triggers in one obstacle. THe obstacle that i am making right now has two parts. The first part works just fine. At the end of the first part i put, Wait * for the time the second part takes and then Set Switch * to start the next part. When i test it, the first part works jsut fine, but it does only part of the second part. So like it goes the whole first part, then it does the first part of the second part, then it goes the whole first part, then the second part of the second part, then it goes the the whole first part, then the third part of the second part, etc. How do i make it so all of the second parts ges together right after the first part. If you are confused of what i am saying, give me ur email and ill email the bound to you so u can see. Please help, thx.

P.S. I am using preserve trigger so tha is not the problem
Report, edit, etc...Posted by Oo.Insane.oO on 2007-01-15 at 15:31:16
http://www.staredit.net/index.php?tutorial=187
Report, edit, etc...Posted by Falkoner on 2007-01-15 at 15:39:56
He has already done this.

The problem you are probably having is the end of the second part.
What are the conditions of the first part and when are they met?
Report, edit, etc...Posted by Mossinat3r on 2007-01-15 at 15:55:25
[attachmentid=22495]im not sure wat u mean... here is an attachment of bound, see if u can help me file name is com.scx

ADDITION:
Please nobody take my map for their own use. If ur cool you wont happy.gif
Report, edit, etc...Posted by xmrxsiegecopx on 2007-01-15 at 16:16:47
Add the "switch 99 is cleared" condition in the first trigger and a "clear switch 99" at the end of the second trigger.

Here it is in trigedit format; just copy and paste.


[codebox]Trigger("Player 8"){
Conditions:
Switch("Switch1", set);
Switch("Switch99", not set);

Actions:
Create Unit("Player 8", "Zerg Overlord", 1, "Location 16");
Kill Unit At Location("All players", "Any unit", All, "Location 16");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 14");
Kill Unit At Location("All players", "Any unit", All, "Location 14");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 11");
Kill Unit At Location("All players", "Any unit", All, "Location 11");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 9");
Kill Unit At Location("All players", "Any unit", All, "Location 9");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 10");
Kill Unit At Location("All players", "Any unit", All, "Location 10");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 7");
Kill Unit At Location("All players", "Any unit", All, "Location 7");
Wait(100);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 6");
Kill Unit At Location("All players", "Any unit", All, "Location 6");
Wait(100);
Create Unit("Player 8", "Protoss Dragoon", 1, "Location 15");
Kill Unit At Location("All players", "Any unit", All, "Location 15");
Wait(100);
Create Unit("Player 8", "Protoss Dragoon", 1, "Location 13");
Kill Unit At Location("All players", "Any unit", All, "Location 13");
Wait(100);
Create Unit("Player 8", "Protoss Dragoon", 1, "Location 12");
Kill Unit At Location("All players", "Any unit", All, "Location 12");
Wait(100);
Create Unit("Player 8", "Protoss Dragoon", 1, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Wait(1500);
Set Switch("Switch99", set);
Preserve Trigger();
}

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

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

Actions:
Create Unit("Player 8", "Zerg Overlord", 1, "Location 12");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 6");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 8");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 10");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 7");
Kill Unit At Location("All players", "Any unit", All, "Location 12");
Kill Unit At Location("All players", "Any unit", All, "Location 6");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 10");
Kill Unit At Location("All players", "Any unit", All, "Location 7");
Wait(300);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 11");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 9");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 8");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 7");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 10");
Kill Unit At Location("All players", "Any unit", All, "Location 11");
Kill Unit At Location("All players", "Any unit", All, "Location 9");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 7");
Kill Unit At Location("All players", "Any unit", All, "Location 10");
Wait(300);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 13");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 6");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 7");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 8");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 9");
Kill Unit At Location("All players", "Any unit", All, "Location 13");
Kill Unit At Location("All players", "Any unit", All, "Location 6");
Kill Unit At Location("All players", "Any unit", All, "Location 7");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 9");
Wait(300);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 14");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 6");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 8");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 9");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 10");
Kill Unit At Location("All players", "Any unit", All, "Location 14");
Kill Unit At Location("All players", "Any unit", All, "Location 6");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 9");
Kill Unit At Location("All players", "Any unit", All, "Location 10");
Wait(300);
Create Unit("Player 8", "Zerg Overlord", 1, "Location 15");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 6");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 7");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 8");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 9");
Create Unit("Player 8", "Zerg Overlord", 1, "Location 10");
Kill Unit At Location("All players", "Any unit", All, "Location 15");
Kill Unit At Location("All players", "Any unit", All, "Location 6");
Kill Unit At Location("All players", "Any unit", All, "Location 7");
Kill Unit At Location("All players", "Any unit", All, "Location 8");
Kill Unit At Location("All players", "Any unit", All, "Location 9");
Kill Unit At Location("All players", "Any unit", All, "Location 10");
Set Switch("Switch99", clear);
Preserve Trigger();
}

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

[/codebox]
Next Page (1)