HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help

12-02-2003, 11:39 PM#1
glrunner13
I need help with two triggers...

1) If there are 100 units in a set region how do you make it so that they will all die at the same time?

2) I made a trigger that has about 500 actions and I was wondering if there was anyway to cancel the rest of the actions in the middle of its operation? (ex: A zergling is being forced to move towards a certain point and by rapidly right clicking you can make it past the point. Once u make it far enough past you enter a region and the trigger is supposed to stop making u run towards the previously mentioned point. The trigger repeats automatically and i want to make it stop in the middle.)

p.s. I have tried UMSWE and the Trigger - Clear All Actions action and it didn't work...How exactly do you use this? Also, i don't want to use the Trigger- Destroy action.

If you could help me with this it would be greatly appreciated!
12-02-2003, 11:50 PM#2
Iceybro
1) I'm guessing you tried pick every unit in unitgroup and just done and kill command.
If you have and it doesn't work try this

For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Unit - Kill (Random unit from (Units in (whatever region)))

I'm not sure this will work however.

2)There is only one way of stoping a trigger in progress that I know of. If/then/elses and skip remain actions is the only way I can think of. Just put them after every wait and it should work.
12-03-2003, 12:33 AM#3
glrunner13
Ok, ill try that. Thanks for the help.
I guess i will have to try the if/then/thing though it won't be fun since i have alot more than 100 actions lol its like 2000 haha...I couldn't think of any better way to make my zergling move to the unit and if i made the trigger repeat warcraft crashed so i spammed the action for like 10 mins lol.

Can Anyone Help Me?

(wow that sounds desperate)