HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Will this trigger work ?

03-10-2004, 06:06 PM#1
LicheMaster
Will this trigger work ?

Choosed TUED
Events
Dialog - A dialog button is clicked for ChooseRace
Conditions
(Triggering player) Equal to Player 1 (Red)
(Triggering player) Equal to Player 2 (Blue)
(Triggering player) Equal to Player 3 (Teal)
(Triggering player) Equal to Player 4 (Purple)
(Triggering player) Equal to Player 5 (Yellow)
(Triggering player) Equal to Player 6 (Orange)
(Triggering player) Equal to Player 7 (Green)
(Triggering player) Equal to Player 8 (Pink)
(Triggering player) Equal to Player 9 (Gray)
(Triggering player) Equal to Player 10 (Light Blue)
(Triggering player) Equal to Player 11 (Dark Green)
(Triggering player) Equal to Player 12 (Brown)
Actions
If ((Triggering player) Equal to Player 1 (Red)) then do (Unit - Create 1 Castle for Player 1 (Red) at (Center of (Playable map area)) facing 0.00 degrees) else do (If ((Triggering player) Equal to Player 2 (Blue)) then do (Unit - Create 1 Castle for Player 2 (Blue) at (Center of (Playable map area)) facing 0.00 degrees) else do (If ((Triggering player) Equal to Player 3 (Teal)) then do (Unit - Create 1 Castle for Player....
(it continues that way all the way to player 12
03-10-2004, 06:46 PM#2
Draco
Here's how I'd do it.
============

Choosed TUED
Events:
Dialog - A dialog button is clicked for ChooseRace
----
Actions:
Unit - Create Unit (Create 1 Castle for (Triggering Player) at (Center of (Playable map area)) facing 0.00 degrees)