Please Help!
I am making a new game, and you choose a hero get buildings gather minerals and you level up, when you get to certain levels you can choose ONE of THREE upgrades. When you choose of the upgrades, the other two in the column should become unreachable. ( Think of heroes of the storm traits ) and they have to be level 1 to get the first set of traits.
I have been trying so hard to get the requirements, but its not working, any help would be very arpreciated.
NOTE: This is in the SHOW section of the requirement, so if that makes any difference i dont know, becuase i dont know the difference
This is the formula im using:
SHOW
And
Count Upgrade - Blah Queued or better
constant 0
And
Count Upgrade - Blah Queued or better
Constant 0
And
Count upgrade - Blah Queued or better
Constant 0
And
Count Behavior - Hero levels
Constant 1
(The Blah's are the upgrades)
This makes sense in my head, that all 3 aren't researched and they have 1 level to get them
Are the ands wrong? Iv tried Equals but i only goes once for the count upgrade and the constant then i cant add any more requirements
It has been a while I used requirements, but I think I can give you a bit information that might help.
My apologize for my English, Ill try my best. :)
Show: It will hide the button on the command card if the requirement is NOT met.
Use: It will make the button grey and unavailable if the requirement is NOT met. By adding text on the Tooltip section if you press on the 'And' (or every other type you choose), it will be shown in your tooltip in game.
I think your requirement does not work because you use types in the wrong way.
'And' is only used if you want to have multiple requirements in the formule.
Just 1 'And' type is enough to make multiple equations and if I am not mistaken it doesn't have a limit of 3. At least I never reached a limit so far ;).
You are using formulas like:
Count upgrade - Blah Queued or better
Constant 0
Count upgrade - Blah Queued or better
Constant 0
Count upgrade - Blah Queued or better
Constant 0
These are equations to me, so you definitly need the 'Equal', 'Greater than', 'less than' etc types.
I would try this.
SHOW
>And
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count Behavior - Hero levels
-Constant 1
The 'And' is been attached to the SHOW or USE map. The 'Equals' are attached to the 'And'. The equations are attached to the 'Equals'.
You can also put the Behaviour on the Use, and the rest in Show.
So when the Count behaviour is not met, the button will be unavailable and as soon 1 of the upgrades are made, all buttons disappear.
I guess it will be something like this:
USE
>Equals
-Count Behavior - Hero levels
-Constant 1
SHOW
>And
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
If you want to let 1 button be visible (for instance for the upgrade you purchased), then you should make multiple requirements specific for every upgrade itself.
Let me know if it worked (I didnt tested it myself, so I could be wrong).
If you don't really understand all that I just said, I recommand you to check out the 'MothershipCore Requirement'.
Thank you sooooooo much. I am only 14 and i think im doing pretty well for self taught but this has stumped me.
The use and show descriptions make SOOOOO much sense now
And i think it might work, if it does ill let you know.
Please Help! I am making a new game, and you choose a hero get buildings gather minerals and you level up, when you get to certain levels you can choose ONE of THREE upgrades. When you choose of the upgrades, the other two in the column should become unreachable. ( Think of heroes of the storm traits ) and they have to be level 1 to get the first set of traits.
I have been trying so hard to get the requirements, but its not working, any help would be very arpreciated. NOTE: This is in the SHOW section of the requirement, so if that makes any difference i dont know, becuase i dont know the difference
This is the formula im using: SHOW
And
Count Upgrade - Blah Queued or better
constant 0
And
Count Upgrade - Blah Queued or better
Constant 0
And
Count upgrade - Blah Queued or better
Constant 0
And
Count Behavior - Hero levels
Constant 1
(The Blah's are the upgrades)
This makes sense in my head, that all 3 aren't researched and they have 1 level to get them Are the ands wrong? Iv tried Equals but i only goes once for the count upgrade and the constant then i cant add any more requirements
Thank you so much for any help :)
It has been a while I used requirements, but I think I can give you a bit information that might help. My apologize for my English, Ill try my best. :)
Show: It will hide the button on the command card if the requirement is NOT met.
Use: It will make the button grey and unavailable if the requirement is NOT met. By adding text on the Tooltip section if you press on the 'And' (or every other type you choose), it will be shown in your tooltip in game.
I think your requirement does not work because you use types in the wrong way.
'And' is only used if you want to have multiple requirements in the formule. Just 1 'And' type is enough to make multiple equations and if I am not mistaken it doesn't have a limit of 3. At least I never reached a limit so far ;).
You are using formulas like:
Count upgrade - Blah Queued or better
Constant 0
Count upgrade - Blah Queued or better
Constant 0
Count upgrade - Blah Queued or better
Constant 0
These are equations to me, so you definitly need the 'Equal', 'Greater than', 'less than' etc types.
I would try this.
>And
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count Behavior - Hero levels
-Constant 1
The 'And' is been attached to the SHOW or USE map. The 'Equals' are attached to the 'And'. The equations are attached to the 'Equals'.
You can also put the Behaviour on the Use, and the rest in Show. So when the Count behaviour is not met, the button will be unavailable and as soon 1 of the upgrades are made, all buttons disappear.
I guess it will be something like this:
>Equals
-Count Behavior - Hero levels
-Constant 1
>And
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
>Equals
-Count upgrade - Blah Queued or better
-Constant 0
If you want to let 1 button be visible (for instance for the upgrade you purchased), then you should make multiple requirements specific for every upgrade itself.
Let me know if it worked (I didnt tested it myself, so I could be wrong).
If you don't really understand all that I just said, I recommand you to check out the 'MothershipCore Requirement'.
It's a good example of how it's done.
Kind Regards,
Maarten Eekhof
Thank you sooooooo much. I am only 14 and i think im doing pretty well for self taught but this has stumped me. The use and show descriptions make SOOOOO much sense now
And i think it might work, if it does ill let you know.
Thank you
OK ITS WORKING!!! Sort of...
The upgrades will work but the level 1 is getting in the way... il try fiddling around and getting it to work and using like completed at unit etc
Thank you again for ur help
ITS WORKING For real now!
I changed the count behaviour to Completed at unit, instead of total because it dosnt stack