Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick Trigger Help please
#1
im making a map where when you create a building, it spawns a unit in the corner of the map and it masses towards the other team.
depending on how many of one building u build, depends on how many units spawn and keep massing

you build 1 barrack, it spawns 1 rine that masses towards the other team
you build 2 barracks, it spawns 2 rines that mass... ect
up to 4


so i need a trigger that every 10 seconds it will continue to spawn the same amount of units depending on how many buildings i have

if u need more detail, feel free to ask.

thanks!laugh:
#2
I'm not sure if this is the best way to do it, but here goes. I'm assuming you have some experience with map making.
Make 4 triggers, one per barracks owned. You'll also need several locations.

Players:
[Whichever player you need it for]
Conditions:
[Current Player] commands [exactly] [1] [Terran Barracks].
Actions:
Create [1] [Terran Marine] for [Current Player] at [Location].
Issue order to all [Terran Marine] owned by [Current Player] at [Location]: [Attack] to [Location]
Wait for [10000] milliseconds.
Preserve trigger.

Create another similar trigger, except instead of 1 marine and 1 barrack, use 2 marines and 2 barracks. Repeat for all four barracks that can be owned.

Note: The [] represents what you can edit in the trigger.


Possibly Related Threads…
Thread Author Replies Views Last Post
  trigger not working help :( AlexSchezar 3 953 03-03-2009, 08:38 AM
Last Post: Fykins
  Trigger Phenox 1 524 01-05-2009, 10:59 PM
Last Post: SilverTears
  Trigger help!! Darkranger 3 1,348 12-13-2008, 06:03 AM
Last Post: AngelSpirit
  Trigger help, please my head is about to explode. Sexxx 1 863 12-13-2008, 05:31 AM
Last Post: AngelSpirit

Forum Jump:


Users browsing this thread: 1 Guest(s)