playMaker

Author Topic: Skill enhancement system HELP  (Read 1827 times)

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Skill enhancement system HELP
« 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

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Skill enhancement system HELP
« Reply #1 on: August 16, 2017, 01:29:01 PM »
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).

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Re: Skill enhancement system HELP
« Reply #2 on: August 17, 2017, 03:24:55 PM »
Oh I understand .. this would work well with global variables or not?

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Re: Skill enhancement system HELP
« Reply #3 on: August 18, 2017, 05:52:09 AM »
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.

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Re: Skill enhancement system HELP
« Reply #4 on: August 18, 2017, 04:26:14 PM »
I had no idea of that .. thanks a lot I'm going to implement it :O