This is the situation : i have a building that can be upgraded 5 times to better versions.
Now, i have another building that to be built requires the first to be at least level 3.
I made a requirement that checks if the player have the first building at level 3 OR level 4 OR level 5. (If i check only for lev 3 obviously when i upgrade to level 4 i will not be able to build the second building).
Everything works fine, the problem is that the requirement on the second building build button shown in game is very ugly and long (showing like Have Building1 lev3 OR lev 4 etc...).
So, the question is, is there a way i can tell the game that the first building level 3-4-5 are actually the same, to have a requirement shown as "Have building1 at least level 3" ?
You can use a tooltip for each requirement node you are using. Just click the node in the requirement tree view and enter a tooltip. For your example, you have a tree similar to this
use
or
CountUnit...
Count...
Count...
Now you can click the Counts and add a correct tooltip (like "Needs 3rd upgrade", "needs 4th upgrade" and "needs 5th upgrade"), or you pick the or and add a tooltip for the whole thing (like "Needs either 3rd, 4th or 5th upgrade"
Hi,
This is the situation : i have a building that can be upgraded 5 times to better versions.
Now, i have another building that to be built requires the first to be at least level 3.
I made a requirement that checks if the player have the first building at level 3 OR level 4 OR level 5. (If i check only for lev 3 obviously when i upgrade to level 4 i will not be able to build the second building).
Everything works fine, the problem is that the requirement on the second building build button shown in game is very ugly and long (showing like Have Building1 lev3 OR lev 4 etc...). So, the question is, is there a way i can tell the game that the first building level 3-4-5 are actually the same, to have a requirement shown as "Have building1 at least level 3" ?
Thanks,
Nite
Use the validators in requirements or use a description (the field that is in the right low corner :S ).
You can use a tooltip for each requirement node you are using. Just click the node in the requirement tree view and enter a tooltip. For your example, you have a tree similar to this
Now you can click the Counts and add a correct tooltip (like "Needs 3rd upgrade", "needs 4th upgrade" and "needs 5th upgrade"), or you pick the or and add a tooltip for the whole thing (like "Needs either 3rd, 4th or 5th upgrade"
@Kueken531: Go
thanks, works. It was easier than i thought :D
I wish there wasn't that bug of the OK button. I can add the tooltip to most of the requirements, but few just don't let me click the ok button.
Use the expressions, I never had a problem with that ;)