- Joined
- May 3, 2018
- Messages
- 5
- Reaction score
- 0
- First Language
- Slovak
- Primarily Uses
- RMMV
Hi everyone.
I'm sorry for my inexperience but I have yet another problem in my game.
I wanted to create a skill that would set the player into a "Hero form". In the game, the player meets a soul of a deceased hero who is guiding and helping the player on their quests.
The player should have an option to enter the "Hero form", which should result in change of their appearance, stats and equip for the duration of the battle.
My first thought was making a common event for that skill, but I got into 2 major problems.
1st:
My common event looks like this:
As you can see I created variables to store each stat of our player since I will need them to return to normal afterwards.
The visual changes successfully as well as the equip, but there is no result in changing the player's stats. The script should have worked for that but it didn't for to me an unknown reason.
2nd:
I have no idea how to make it turn back to normal (setting hero mode off and returning player's graphics, equip and stats) after the battle ends
My first guess was to make the skill turn on a state, but states can't use common events (which is really stupid in my opinion).
My final idea is to make a 3rd actor for whom I would manually set the stats to correspond to the stats I would want to get as well as the look or equip, but since the 2nd actor (the hero we take stats from) will be able to level up later in the game, the stats wouldn't necessarily be the same as if I used the method I proposed first.
If anyone has any ideas on how to get this working, please write it in the comments.
Thanks a lot
I'm sorry for my inexperience but I have yet another problem in my game.
I wanted to create a skill that would set the player into a "Hero form". In the game, the player meets a soul of a deceased hero who is guiding and helping the player on their quests.
The player should have an option to enter the "Hero form", which should result in change of their appearance, stats and equip for the duration of the battle.
My first thought was making a common event for that skill, but I got into 2 major problems.
1st:
My common event looks like this:
As you can see I created variables to store each stat of our player since I will need them to return to normal afterwards.
The visual changes successfully as well as the equip, but there is no result in changing the player's stats. The script should have worked for that but it didn't for to me an unknown reason.
2nd:
I have no idea how to make it turn back to normal (setting hero mode off and returning player's graphics, equip and stats) after the battle ends
My first guess was to make the skill turn on a state, but states can't use common events (which is really stupid in my opinion).
My final idea is to make a 3rd actor for whom I would manually set the stats to correspond to the stats I would want to get as well as the look or equip, but since the 2nd actor (the hero we take stats from) will be able to level up later in the game, the stats wouldn't necessarily be the same as if I used the method I proposed first.
If anyone has any ideas on how to get this working, please write it in the comments.
Thanks a lot
