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.

Question Skill SBS Tankentai

From

Member

1) I am trying to change the skill "Cat Transform" into something more personal and I would like to know if you can, using scripts, add and / or remove certain skills to the person who is using this transformation. Example:
'Peter' has the ability to 'Fire', 'Cure' and 'Transformation'. How can I do 'when using' Transformation ', the ability to' Fire ','Cure' and 'Transformation' are removed and their place took over the 'SuperCure' and' SuperFire'?

2) Always on the question above ... How can I do instead, that when the combat ends, the abilities of the original PG return those that were originally? That at the end of combat, the PG regains 'Fire', 'Cure' and 'Transformation' and lost 'SuperFire' and 'SuperCura'?

I can not figure out how to do it.

Can you give me a hand?

Thank you! :biggrin:
 
Should be possible with events, and a status called 'Transformed'.
Have a common event running in the background (a parallel process with the switch on) executing a check during the battle if the status is applied to backup results if you had the skill (in case you haven't learned them all yet), then remove and add skills as necessary.
At the end, run another event to restore the skills to the previous state.
Something along the lines of this:
Event01.png

( ignore the different spell/character names xD )
 

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