Staredit Network

Staredit Network -> UMS Assistance -> Starcraft trigger bugs
Report, edit, etc...Posted by Ermac on 2006-05-08 at 06:14:36
Hello, i've been making a map and i have some troubles with triggers.

First: I wanted to make such a thing that a shuttle flies in and drops (creates) some units. It creates some, then waits, creates again..waits, and the creates the final units. (waiting is not long ~1000 miliseconds)
When i made a trigger to create units, it always makes it double. I.e. if i want to create 5 marines it makes 10.

2nd: I added a second unit drop trigger. Then for some reason the first drop got buggy, it creates only the first units, then when it is supposed to wait only 1000 miliseconds, it waits for almost a minute if not more.

3rd: the second drop units creation is not double, like the first one (so if i want 5 marines i get 5 marines ), even though the triggers are the same, the only difference is location names, and units.

So maybe anyone knows what makes triggers work weird, and create double units, or make short waits longer?
Report, edit, etc...Posted by The_Shattered_moose on 2006-05-08 at 07:24:54
Your problem with it waiting for too long probably is because of a wait block, if a player has too multiple waits active at the same time, they "stack up", and actions after the waits occur only once ALL of the waits are complete. Instead of using waits, you can use a deathcount system (http://www.staredit.net/index.php?tutorial=124 scroll down) , or any number of physical timers (http://www.staredit.net/index.php?tutorial=167)
As for the spawning too many units, its possible that the conditions of the trigger are true more than once, make sure that the trigger conditions are not true twice or more times.
Report, edit, etc...Posted by Kenoli on 2006-05-08 at 10:48:13
QUOTE
When i made a trigger to create units, it always makes it double. I.e. if i want to create 5 marines it makes 10.
If you assigned the trigger to multiple players or a force with multiple players, you actually have multiple copies of the trigger. That could cause it to happen more than once.
Report, edit, etc...Posted by Ermac on 2006-05-08 at 15:53:49
I indeed had that trigger for 2 players, because i wanted them both to see a message.

And I'll see if i can understand those two alternative timers.

Thanks for help! smile.gif

Next Page (1)