HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Maze Help

10-16-2005, 06:53 PM#1
j0sh4tran
Hello, I want it to make guys keep spawning so it makes a pattern and this is my trigger.

Part 1 Start 1
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Trigger - Turn on Part 1 First Spawn 1 <gen>

Part 1 First Spawn 1
Events
Time - Every 3.50 seconds of game time
Conditions
Actions
Unit - Create 1 Collision Unit for Player 7 (Green) at (Center of Part 1 First Spawn 1 <gen>) facing (Position of (Triggering unit))
Unit Group - Order (Units in Part 1 First Spawn 1 <gen>) to Move To (Center of Part 1 Move 1 <gen>)

Then I have another trigger like that, but the elapsed time is 3. And I have 10 other ones, but it doesnt work, they all spawn at one time.

And I did change the Part 1 First spawn numbers.

10-16-2005, 09:30 PM#2
Soultaker
Quote:
Hello, I want it to make guys keep spawning so it makes a pattern and this is my trigger.

Part 1 Start 1
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Trigger - Turn on Part 1 First Spawn 1 <gen>

Part 1 First Spawn 1
Events
Time - Every 3.50 seconds of game time
Conditions
Actions
Unit - Create 1 Collision Unit for Player 7 (Green) at (Center of Part 1 First Spawn 1 <gen>) facing (Position of (Triggering unit))
Unit Group - Order (Units in Part 1 First Spawn 1 <gen>) to Move To (Center of Part 1 Move 1 <gen>)

Then I have another trigger like that, but the elapsed time is 3. And I have 10 other ones, but it doesnt work, they all spawn at one time.

And I did change the Part 1 First spawn numbers.

Well, this is how it works :)

Every 3.5 seconds, War3 Checks if that trigger is enabled/turned on, and if it is, it fires it.
So it doesn't really matter when you turn it on when they all have the same timer.

This is an example of a trigger that would do what you wanted:


Events:
Time - Every 5 Seconds of game time
Conditions:
Actions:
Trigger - Run "Spawn Units 1" Ignoring Conditions
Wait: 0.5 seconds.
Trigger - Run "Spawn Units 2" Ignoring Conditions

and so on.. ;)

The other triggers should be just like your own.

Hope it helped :D

-Soultaker
10-17-2005, 08:10 AM#3
Anitarf
Make sure your triggers are initially turned off.

Also, if one trigger turns on at 1 second and the other one at 3 seconds, and they both run every 3.5, then of course they'll both start at the same time.
10-17-2005, 12:00 PM#4
j0sh4tran
Hello, whenever I made the trigger you showed me, it made the pattern. But, after the first spawn, it doesnt keep going. Can you help me with that?

Thanks
10-17-2005, 12:24 PM#5
Soultaker
Quote:
Originally Posted by j0sh4tran
Hello, whenever I made the trigger you showed me, it made the pattern. But, after the first spawn, it doesnt keep going. Can you help me with that?

Thanks

Okay, then do this:

Events:
Time - Time elapsed = 5 seconds
Conditions:
Actions:
Trigger - Run "Spawn Units 1" Ignoring Conditions
Wait: 1 seconds.
Trigger - Run "Spawn Units 2" Ignoring Conditions
Wait: 1 seconds.
Trigger - Run "Spawn Units 3" Ignoring Conditions
Wait: 1 seconds.
Trigger - Run Trigger "This Trigger"

That should do the job, if it doesn't the I don't think we got the same idea of what you need done
10-17-2005, 09:22 PM#6
j0sh4tran
Yay, thank you everybody =D Most to Soultaker. I appreciate it!