Ask the title says, i want to make a techtree choice.
To make things easier to understand, Assume the following "variables":
Upgrade X - Purity
Upgrade Y - Corruption
Building X - Fountain
Building Y - Corrupted Fountain
Building Z - Upgrading or Triggering Building (Summoning Fountain)
At the start of the game, Both Building X and Y would be unavailable for construction. (This part I got using triggers)
Next step is this:
Scenario 1: You research Upgrade X which would result to:
To make things easier to understand, Assume the following "variables":
Upgrade X - Purity
Upgrade Y - Corruption
Building X - Fountain
Building Y - Corrupted Fountain
Building Z - Upgrading or Triggering Building (Summoning Fountain)
At the start of the game, Both Building X and Y would be unavailable for construction. (This part I got using triggers)
Next step is this:
Scenario 1: You research Upgrade X which would result to:
- Upgrade Y becomes unavailable for research
- Building X becomes available for construction
- Upgrade X becomes unavailable for research
- Building Y becomes available for construction
-
Swamps Initialization
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player - Make Corrupted Fountain Unavailable for training/construction by (Picked player)
-
Player - Make Fountain Unavailable for training/construction by (Picked player)
-
Player - Limit training of Summoning Fountain to 5 for (Picked player)
-
-
-
-
-
Corruption Fountain Availability
-
Events
-
Unit - A unit Finishes an upgrade
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Summoning Fountain
-
(Researched tech-type) Equal to Corruption
-
-
Actions
-
Player - Make Corrupted Fountain Available for training/construction by (Owner of (Triggering unit))
-
Player - Set the current research level of Purity to 1 for (Owner of (Triggering unit))
-
-
-
Fountain Availability
-
Events
-
Unit - A unit Finishes an upgrade
-
-
Conditions
-
(Researched tech-type) Equal to Purity
-
(Unit-type of (Triggering unit)) Equal to Summoning Fountain
-
-
Actions
-
Player - Make Fountain Available for training/construction by (Owner of (Triggering unit))
-
Player - Set the current research level of Corruption to 1 for (Owner of (Triggering unit))
-
-