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.

Which Battler performed an action through eventing

Razior

Member

I am attempting to create a system using common events that every time a character uses a skill or ability he will gain experience towards leveling up that skill. Example, Actor has Fire skill level 1, he uses it multiple times (saving this in a variable labeled actor1flame1), causing him to eventual level up and forget Fire level 1 and learn Fire level 2. This I have all figured out. What I am having trouble with is registering which character is using the skill for characters that share the same skill. Example, Actor 1 and 2 have Fire Lv.1, when actor 1 casts fire lv.1 actor 2 is also gaining exp towards the skill. (Sorry for the long explanation). Abridged, I need a conditional event based on the current user of a skill when he uses it.
 

gumbo

Member

I know you were probably expecting a long complicated, sure-to-work solution, but I'm not that great at programming so i think i ways to get around it so, why don't you copy the skills and keep the names the same and the stats, then you could set the exp easily, even if all 4 people had that skill.
like
Fire level 1 (player 1 uses)(changes variable 1)
Fire level 1 (player 2 uses)(changes variable 2)
sorry if you don't like my idea but it was only an idea I'm not good at this.
 

Razior

Member

Thank you for responding. I thought of attmepting this through such a way, but unfortunately I have hundreds of leveled skills and many of them can be taught to any player through items (that is why I am having great trouble with is). To do it through copying I would have literally thousands of skills. Thanks anyway.
 

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