Hi, I am looking for a way to let the player choose an attribute to upgrade when he levels up (between life, strength and energy) using triggers please help by either explaining how to do it, showing screenshots or just posting a map, thanks
You'll need a lot of things. I'd suggest looking through the assets before attempting to do it yourself.
But basically, you create a dialog.
In the dialog you create buttons for each asset to upgrade (making sure to use the maximum amount of buttons for the maximum amount of attributes to be upgraded by any player at one time) and then hide or display the buttons the person will need when they open the dialog to level.
Then, basically, change the dialog items for each player to reflect what they can and cannot level up. For instance, say you have health, energy, and armor, but player 2 can only upgrade health and armor. So in the initialization stage of this system you'd set player 1 to have 3 dialog items, and each will display their respective health, energy and armor. While player 2 would get two dialog items, again with their respective upgrade.
Then in triggers create a system to handle upgrade requests. Something similar to my recently abandoned project found here.
Hope that helps.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
Thanks, I found a way to make it work (I think didn't test it yet) but I have a problem on how to check the level of a unit and give a point for every level up. so that i can later use the point to increase my attributes.
Thanks
edit: It didn't work, I am trying to evrytime i level up add 1 to my buff behavior.
There are several threats that deal with this exact thing. I remember seeing one which had an example map attached. Let me assure you the solution was quite complicated
Just try the search funtion
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, I am looking for a way to let the player choose an attribute to upgrade when he levels up (between life, strength and energy) using triggers please help by either explaining how to do it, showing screenshots or just posting a map, thanks
@pokenoufl: Go
You'll need a lot of things. I'd suggest looking through the assets before attempting to do it yourself.
But basically, you create a dialog.
In the dialog you create buttons for each asset to upgrade (making sure to use the maximum amount of buttons for the maximum amount of attributes to be upgraded by any player at one time) and then hide or display the buttons the person will need when they open the dialog to level.
Then, basically, change the dialog items for each player to reflect what they can and cannot level up. For instance, say you have health, energy, and armor, but player 2 can only upgrade health and armor. So in the initialization stage of this system you'd set player 1 to have 3 dialog items, and each will display their respective health, energy and armor. While player 2 would get two dialog items, again with their respective upgrade.
Then in triggers create a system to handle upgrade requests. Something similar to my recently abandoned project found here.
Hope that helps.
@Yaksmanofage: Go
Thanks, I found a way to make it work (I think didn't test it yet) but I have a problem on how to check the level of a unit and give a point for every level up. so that i can later use the point to increase my attributes.
Thanks
edit: It didn't work, I am trying to evrytime i level up add 1 to my buff behavior.
There are several threats that deal with this exact thing. I remember seeing one which had an example map attached. Let me assure you the solution was quite complicated Just try the search funtion