Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MatiasHarder on August 16, 2017, 09:19:45 AM
-
Some way that by pressing a "Control or Strong" button this will increase my strength stats.
2d rpg Game
-
Hi. Have you created some type of management system for your stats? First you will need to create a management system using playmaker and then create the specific conditions for it to occur.
Maybe first start by making some float variables on your character to hold the states. Strength, health, etc. Then you need to decide what conditions will change these stats.
For example, each time you kill an enemy, maybe the player needs to get +0.1 to the strength (or experience).
-
Oh I understand .. this would work well with global variables or not?
-
Don't use global variables unless you really have to. Definitely not for a skill management system. There are other ways that you can send information there and back to different FSMs. You can access other FSMs by getting their gameobjects and you can also use events.
-
I had no idea of that .. thanks a lot I'm going to implement it :O