- Joined
- May 20, 2009
- Messages
- 822
Sorry to post another thread today, but every time I come to try and make a Victory/Defeat Trigger, I can never successfully do it. It's extremely difficult...
Here's what I have so far (THIS IS NOT COMPLETE):
EDIT: There needs to be a generic link/tutorial that people can link to people for this, if there isn't one already.
Here's what I have so far (THIS IS NOT COMPLETE):
-
Victory Conditions
-
Events
- Unit - A unit Dies
-
Conditions
- (Count structures controlled by (Triggering player) (Include incomplete structures)) Equal to 0
-
Actions
- Set Players = (All Players)
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering player) is giving (Picked player) Alliance (non-aggression)) Equal to True
- ((Picked player) is giving (Triggering player) Alliance (non-aggression)) Equal to True
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Count structures controlled by (Picked player) (Include incomplete structures)) Equal to 0
-
Then - Actions
- Player Group - Remove (Picked player) from Players
- Player Group - Remove (Triggering player) from Players
- Game - Defeat (Triggering player) with the message: Defeat!
- Game - Defeat (Picked player) with the message: Defeat!
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Player Group - Remove (Triggering player) from Players
- Game - Defeat (Triggering player) with the message: Defeat!
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events
EDIT: There needs to be a generic link/tutorial that people can link to people for this, if there isn't one already.