HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Advanced Trigger HELP!

08-13-2003, 05:28 PM#1
futuraonline
Okie guys heres my problem, I am trying to make an advanced mass attack trigger for a map im working on.

Its a 12 player map and there are 16 diffrent locations that each player can go to.

I have the 16 regions set up as for when u move the wisp into the region it will send all your units in "Mass attakc region" to a players start location.

I need the trigger to do this:

When a unit enter "red gen (one of the 16 regions)" it will check to see which players unit entered region, and have all units in "mass attack region" attack-to-move to Player 1's starting location.

Yes I know I could do a trigger for each player if unit enters then send them to the location but thats 16 lines of triggers for 12 players and that way 2 much :P

Anyhow any help on this would be GREAT! thanks
08-13-2003, 06:03 PM#2
Grater
Try something like this.
Code:
Player1MassAttack
    Events
        Unit - A unit enters red <gen>
    Conditions
    Actions
        Unit Group - Order (Units owned by (Owner of (Entering unit))) to Attack-Move To (Player 1 (Red) start location)
You'll need to duplicate it for every region, so thats 16 triggers. In each trigger change the region in the event, and the player in the action. Easy.
08-13-2003, 06:21 PM#3
Grater
Code:
Cool mass attack
    Events
        Unit - A unit Is issued an order targeting an object
    Conditions
        (Unit-type of (Target unit of issued order)) Equal to Circle of Power
    Actions
        Unit Group - Order (Units owned by (Owner of (Ordered unit))) to Attack-Move To ((Owner of (Target unit of issued order)) start location)
And here is a 3 line trigger that does the trick without requiring regions at all. Just create a circle of power owned by each player.
08-14-2003, 01:14 AM#4
futuraonline
Okie guys, well I made the triggers but sadly the second one listed doesnt work, or it didnt work for meI should say. Anyhow the top one works to an extent...when the unit enters the region it only move like 1 or 2 guys not the whole mass of them. so I am posting my map here so that maybe one of you might look and see what I have done wrong and see if You/They can fix it!

If you get it working please e-mail me at [email protected]