I already searched this and could not find something close to it on the forum.
I'm attempting to make a trigger that, when one upgrade is completed, a few other upgrades are disabled (ie. they can no longer be researched). So let me give you an example of what I'm trying to create. I have a side we will call the "Humans". The Humans have three gods: A, B, and C. In my map, I want the Humans to be greatly effected by what god they choose to worship, but I want them to only be able to worship one. So I made "worshiping" into an upgrade (it only seems logical).
So if you choose to worship god A, you can no longer worship god B or C. Just as if you research A, you can no longer research B or C. Or if you research B, you cannot research A and C. And so on.
What I initially tried doing was this:
Event
- A unit owned by player 1 red finishes an upgrade
Condition
- Tech type equal to "A"
Action
- Set tech level of "B" to 0
- Set tech level of "C" to 0
But that had no effect in the map.
I even went ahead and tried taking it away from upgrades to buildings. So if you built a shrine to "A" you could not build a shrine to "B" or "C". But for some reason I'm just completely missing this.
Any suggestions?
I'm attempting to make a trigger that, when one upgrade is completed, a few other upgrades are disabled (ie. they can no longer be researched). So let me give you an example of what I'm trying to create. I have a side we will call the "Humans". The Humans have three gods: A, B, and C. In my map, I want the Humans to be greatly effected by what god they choose to worship, but I want them to only be able to worship one. So I made "worshiping" into an upgrade (it only seems logical).
So if you choose to worship god A, you can no longer worship god B or C. Just as if you research A, you can no longer research B or C. Or if you research B, you cannot research A and C. And so on.
What I initially tried doing was this:
Event
- A unit owned by player 1 red finishes an upgrade
Condition
- Tech type equal to "A"
Action
- Set tech level of "B" to 0
- Set tech level of "C" to 0
But that had no effect in the map.
I even went ahead and tried taking it away from upgrades to buildings. So if you built a shrine to "A" you could not build a shrine to "B" or "C". But for some reason I'm just completely missing this.
Any suggestions?