Ok... the triggers for an observer map...
-First make a trigger so the observer can see the fighters units and, well, observe.
| Trigger |
| Description: |
| Observer can see the fighter's units. |
|
| Players: |
| ¤ Force 2 (Observers) |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Run aiscript "Turn ON Shared vision for player 1"
|
¤ Run aiscript "Turn ON Shared vision for player 2"
|
¤ '' '' '' '' (Copy for each fighter)
|
¤ Preserve Trigger
|
| ¤ Comment- "Observers see the fighters" |
Now... We make sure that the default triggers are deleted and use this trigger instead of the default "0 buildings for all players = defeat for that player" trigger.
| Trigger |
| Description: |
| Defeat for fighters if they have 0 buildings. |
|
| Players: |
| ¤ Force 1 (Fighters) |
| Conditions: |
| ¤ Current Player brings atmost 0 buildings to anywhere |
| Actions: |
¤ Kill all anyunit for current player at anywhere. (OPTIONAL)
|
| ¤ End scenario in defeat for currentplayer. |
Since the trigger does not execute for the observers, It does not affect them, so they would not immedatly recieve a "Defeat" message because they are observing.