Different techtree-requirement "options"

Status
Not open for further replies.
Level 7
Joined
May 30, 2018
Messages
290
Dear Hive,

is there a way to make a techtree-requirement working as an "or"-condition. For example: A unit needs 2 buildings of type a and 1 building of type b OR c OR d to be enabled for production (the same for spells: a spell needs building a and building b or c or d to be enabled for casting).

I appreciate all support, maybe someone has an idea! :)
 
Dear Hive,

is there a way to make a techtree-requirement working as an "or"-condition. For example: A unit needs 2 buildings of type a and 1 building of type b OR c OR d to be enabled for production (the same for spells: a spell needs building a and building b or c or d to be enabled for casting).

I appreciate all support, maybe someone has an idea! :)
Could be done this way.
Create a dummy upgrade with the name of : Need a or b.
Create a real bulding A
Create a real building B
(which a worker can build)

Create a trigger.
When the worker finished Building A or B
Set level of research of : Need a or b to 1.

also create a second triger
Which checks if player has more then 1 type of building A or B , or set the research to level 0.
 
Could be done this way.
Create a dummy upgrade with the name of : Need a or b.
Create a real bulding A
Create a real building B
(which a worker can build)

Create a trigger.
When the worker finished Building A or B
Set level of research of : Need a or b to 1.

also create a second triger
Which checks if player has more then 1 type of building A or B , or set the research to level 0.
That sounds reasonable! Will give it a try :D
 
Status
Not open for further replies.
Back
Top