Hello iv created a map and there are a large amount of different heroes, and each hero has different units they can build and i do this through upgrades, and they can only create the unit when the upgrade is researched through triggers, but for upgrades for these units im doing this
UseOr
Count upgrade Roach vile queued or better
Count Upgrade Roach queued or better
Count Upgrade Roach Corpser queued or better
Constant 1
Show
Equals
Count upgrade Gaping Maw Queued or better
Constant 0
So what should be happening to my knowledge is that the upgrades for the units the hero cant use should be greyed out and cant be researched, but that isnt happening. Iv only just started useing the Requirement section and im sure im missing something pretty simple
from what it looks like you want the button to be useable if one of two different upgrades are researched and only show if a third upgrade is not?
i think for your Use Case you would need Or ->( Equals -> count upgrade Roach queued or better, -> constant 1), (equals-> count Roach Corpser upgrade queued or better, -> Conbstant 1)
i dont work with them that often but i think this will help.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello iv created a map and there are a large amount of different heroes, and each hero has different units they can build and i do this through upgrades, and they can only create the unit when the upgrade is researched through triggers, but for upgrades for these units im doing this
Use Or Count upgrade Roach vile queued or better Count Upgrade Roach queued or better Count Upgrade Roach Corpser queued or better Constant 1
Show Equals Count upgrade Gaping Maw Queued or better Constant 0
So what should be happening to my knowledge is that the upgrades for the units the hero cant use should be greyed out and cant be researched, but that isnt happening. Iv only just started useing the Requirement section and im sure im missing something pretty simple
Thanks for your help
from what it looks like you want the button to be useable if one of two different upgrades are researched and only show if a third upgrade is not?
i think for your Use Case you would need Or ->( Equals -> count upgrade Roach queued or better, -> constant 1), (equals-> count Roach Corpser upgrade queued or better, -> Conbstant 1)
i dont work with them that often but i think this will help.