Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Transfer skills from one character to another

What the script does is transfer skills from one character to another.
Example: Character1 temporarily gives her power to character2. Now character2 can use all of the skills character1 had.
Now the problem I am having is I need a way to check what skills character1 has when using the transfer because as she gains higher levels her skills will be changing.

Thanks for any help.
-Terra
 
Alright. I know you can do this using events, but I'm not going to lie... it'll be a pain in the ass.

I think the easiest way would be making the "skill transfer" skill for whichever character can do it. Just make a common event that is activated when that skill is used from the menu.

Next, under that common event, you're going to have a ton of commands to stick in there. Depending on how many skills you have.
I'll give you an example:

Okay. I don't have time to write it out now that I spent twenty minutes developing a demo. But if you want, you can just download this, and either copy and paste what I have then change the actors and such, or just use it as a guideline. It works good. But I made it so Ulrika has the "Skill Transfer" skill so when she uses it, she gets all of Ralph's skills. UNLESS he doesn't have one of them yet. But he starts at lvl 10, so he will have all 3 of them that I made available. It's really easy to modify and add more skills. Feel free to give Ralph the skill though. It will still work the exact same.

Good luck. Here's the demo: http://www.megaupload.com/?d=A0GAZ9PE
 
Mikee":2rmnn0yo said:
Alright. I know you can do this using events, but I'm not going to lie... it'll be a pain in the ass.

I think the easiest way would be making the "skill transfer" skill for whichever character can do it. Just make a common event that is activated when that skill is used from the menu.

Next, under that common event, you're going to have a ton of commands to stick in there. Depending on how many skills you have.
I'll give you an example:

Okay. I don't have time to write it out now that I spent twenty minutes developing a demo. But if you want, you can just download this, and either copy and paste what I have then change the actors and such, or just use it as a guideline. It works good. But I made it so Ulrika has the "Skill Transfer" skill so when she uses it, she gets all of Ralph's skills. UNLESS he doesn't have one of them yet. But he starts at lvl 10, so he will have all 3 of them that I made available. It's really easy to modify and add more skills. Feel free to give Ralph the skill though. It will still work the exact same.

Good luck. Here's the demo: http://www.megaupload.com/?d=A0GAZ9PE

Thank you so much, you gave me exactly what I needed to do this. Using bits of what you gave me and a few things You gave me an idea for I am good to go.
Thanks again
-Terra
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top