playMaker

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

MatiasHarder

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Skill enhancement system HELP
« on: August 16, 2017, 06:19:45 AM »
Some way that by pressing a "Control or Strong" button this will increase my strength stats.

2d rpg Game

tcmeric

  • Sr. Member
  • ****
  • Posts: 479
    • View Profile
Re: Skill enhancement system HELP
« Reply #1 on: August 16, 2017, 10:29:01 AM »
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

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

elusiven

  • Full Member
  • ***
  • Posts: 227
  • Debt we all must pay...
    • View Profile
Re: Skill enhancement system HELP
« Reply #3 on: August 18, 2017, 02: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

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