PDA

View Full Version : Melee attacking with fixed location


grifter09
09-21-2004, 8:49 PM
Is it possible to have the computer play the same way it plays during melee, or free for all, while still being to edit a map so that you know what point each player will start at?

Akuma
09-22-2004, 4:18 PM
Yes. Go to the Foces dialog and remove Random Start Location for all players. Then drop a location over each computer start location and create a trigger for each CPU Player:

PLAYERS:
A CPU Player.

CONDITIONS:
Always

ACTIONS:
Run AI Script (Race Custom Level) at (Location for CPU Player 1) for (CPU 1)

Cons:
You'll have to set a race for each player; you'll have to use UMS and you'll have to pre-place the starting units.

The free-for-all version of this trigger requires a bit more work.

StealthyDeath
09-22-2004, 5:11 PM
You can use the Set Alliance Status trigger if you want a free-for-all map.

Players:
All Players
Conditons:
Always
Actions:
Set All players to Enemy.
Preserve Trigger.

The preserve trigger will make the players unable to ally each other.