HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Regions Questions - Something new I guess

09-02-2003, 06:38 AM#1
ImperialNaga
Here is my question:
1. If i've one region named "MidWar for example" and i want unit to pass by. For example if i want 5 player red units that enter that region to attack move to blue base it will work. But if i need another player red units that need to enter the region but attack move to other location. How do i do that?

Can i do that with Variables?
If so, can you help me make a sample map? THanks.

If you don't undertsand:
--------------------------------
Red Top Waypoint
--------------------------------
Event: A unit enter midwar
Conditions: Player = player1
Actions: Issue enterring unit to attack move to blue base

-------------------------------
Red Left Waypoint
-------------------------------
Event: A unit enter midwar
Conditions: Player = player1
Actions: Issue enterring unit to attack move to green base

Please help me thanks
09-02-2003, 07:11 AM#2
bludragn
You could have an If, Then, Else action. Maybe you want specific units to attack a different base? Then you would have it like this:

Code:
If - unit type of entering unit = footman
Then - order entering unit to attack blue base
Else - do nothing

If - unit type of entering unit = knight
Then - order entering unit to attack green base
Else - do nothing
Or maybe you want it an alternating type trigger you would set it up like this (with multiple action):

Code:
If - integer variable:TriggerValue = 0
Then - order entering unit to attack blue base
     - set TriggerValue = 1
     - skip remaining actions
Else - do nothing

If - integer variable:TriggerValue = 1
Then - order entering unit to attack green base
     - set TriggerValue = 2
     - skip remaining actions
Else - do nothing

If - intherger variable:TriggerValue = 2
Then - order entering unit to attack yellow base
     - set TriggerValue = 0
Else - do nothing
Does any of that answer your question?
09-02-2003, 07:18 AM#3
ImperialNaga
For the 1st, no.

For the second I dun quite understand.. Sorry... Can you plz expalin more clearly? Whats those variables for?
09-02-2003, 07:26 AM#4
bludragn
It is an altnerating trigger. When the first group enters the region they are sent to the blue base, the second group is sent to the green base, and the third group is sent to the yellow base, then the trigger starts over.
09-02-2003, 08:07 AM#5
ImperialNaga
Hmm.. I think that didn't help. But i firgure it out. Thanks.