- Joined
- Sep 26, 2009
- Messages
- 441
So I am going to put 2 examples down of triggers for the game I'm making unfortunately trigger 1 makes trigger 2 totally pointless and makes it impossible for the antagonist team to win even if he defeats everyone on the protagonist team.
Here are the triggers these are the triggers in place to make the conditions of the antagonist winning(victory for the protagonists is simply killing a unit, for the antagonist it's more complicated)
This trigger makes sure when the antagonist kills a protagonist's indefinite hero they become obs and can then leave the game if they want or observe everyone's work and learn something.
Here are the triggers these are the triggers in place to make the conditions of the antagonist winning(victory for the protagonists is simply killing a unit, for the antagonist it's more complicated)
-
heroes defeat
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((((Triggering unit) is A Hero) Equal to True) and ((Owner of (Triggering unit)) Equal to Player 1 (Red))) or ((((Triggering unit) is A Hero) Equal to True) and (((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True))
-
-
Actions
-
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit))) and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player - Make (Owner of (Triggering unit)) treat (Picked player) as an Ally with shared vision
-
-
-
-
-
Monster master victory
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Player 1 (Red) slot status) Equal to Has left the game) or ((Player 1 (Red) slot status) Equal to Is unused)
-
((Player 2 (Blue) slot status) Equal to Has left the game) or ((Player 2 (Blue) slot status) Equal to Is unused)
-
((Player 3 (Teal) slot status) Equal to Has left the game) or ((Player 3 (Teal) slot status) Equal to Is unused)
-
((Player 4 (Purple) slot status) Equal to Has left the game) or ((Player 4 (Purple) slot status) Equal to Is unused)
-
((Player 5 (Yellow) slot status) Equal to Has left the game) or ((Player 5 (Yellow) slot status) Equal to Is unused)
-
((Player 6 (Orange) slot status) Equal to Has left the game) or ((Player 1 (Red) slot status) Equal to Is unused)
-
((Player 7 (Green) slot status) Equal to Has left the game) or ((Player 7 (Green) slot status) Equal to Is unused)
-
((Player 8 (Pink) slot status) Equal to Has left the game) or ((Player 8 (Pink) slot status) Equal to Is unused)
-
((Player 9 (Gray) slot status) Equal to Has left the game) or ((Player 9 (Gray) slot status) Equal to Is unused)
-
-
Actions
-
Game - Victory MonsterMaster (Skip dialogs, Show scores)[/HIDDEN]
-
-