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.

[Resolved]Enemy and Actor Skill Array

I'm trying to get an array (or hash) of skills possessed by an actor or enemy. For instance, in the database I assign the enemy "Menacing Tree" with the skills "Glower" and "Unleash Leaf." I'm assuming that RMXP keeps track of these skill assignments in an array, but I'm having trouble finding that array. I also need to find a similiar array for actors. So if the character "Atreyu" has the ability "Run," where is that kept? If it's in an array, what's the name of that array?

Also, this seems like an ideal question for "Special Support - A Great Place To Learn To Script," but since nobody's posted on it since January, I'm shying away. Is it cool to post there still?
 
Works perfectly! Thanks, Neo-Bahamut!

To anyone else looking for these methods, it's worth noting that $data_classes[id].learnings is not based solely on the skills assigned to a class in the database. Instead, it uses that information in addition to any skills given to a particular character through the event process "Change Skill." Very, very useful.
 

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