- Joined
- Jan 2, 2019
- Messages
- 16
- Reaction score
- 6
- First Language
- English
- Primarily Uses
- RMMV
So I've figured out how to get the meta information added by note tags from the excellent little tutorial in https://forums.rpgmakerweb.com/index.php?threads/write-a-plugin-that-reads-notetags-beginner.100228/
Unfortunately, there's a lot of things that it sounds like should be possible that aren't covered. Looking in the console, I've also figured out how to get the note tag meta from the states, and so forth. The problem I'm running into is that I'd like to retrieve the data from a state on the character using both scripts (like in a plugin or script entry in events) and damage formulas. Knowing how to get the meta from a character's equipment and class would also be useful.
Obviously, I'm an amateur when it comes to scripting. Please keep any explanations as simple as you can...
Warning: Wall o' Text...
To be a little more specific, I'm setting up things up with each monster having two different types. There are only ten types, but a LOT of monsters. It would be a great deal more efficient to set up the type traits for each monster using passive states from yanfly's passive states plugin than setting them up for each individual monster, and putting any variation specific to that monster in the monster's own traits. So, each type would be linked to a passive state, ect.
There's some additional information associated with each type- such as the types name and an associated number for pulling off the monster and putting in a variable for events and damage formulas and so forth. As an added layer of complication, some characters will also have these passive states, as they are 'monsters' in lore terms, and will even have their monster type listed in the character status screen (thanks to the example in the tutorial I mentioned above).
I've already figured out how to do all that using note entries in each individual monster or character (type1:name, type1id:x, type2:name, type2id:x are the note entries). It would make life a whole lot easier if I could stick those note entries in the states instead of each individual monster and then retrieve it using a method similar to what I've already figured out how to do. I'd have to copy each state and have one add the type1 notes and the other add type two notes, but that's no big deal.
Unfortunately, there's a lot of things that it sounds like should be possible that aren't covered. Looking in the console, I've also figured out how to get the note tag meta from the states, and so forth. The problem I'm running into is that I'd like to retrieve the data from a state on the character using both scripts (like in a plugin or script entry in events) and damage formulas. Knowing how to get the meta from a character's equipment and class would also be useful.
Obviously, I'm an amateur when it comes to scripting. Please keep any explanations as simple as you can...
Warning: Wall o' Text...
To be a little more specific, I'm setting up things up with each monster having two different types. There are only ten types, but a LOT of monsters. It would be a great deal more efficient to set up the type traits for each monster using passive states from yanfly's passive states plugin than setting them up for each individual monster, and putting any variation specific to that monster in the monster's own traits. So, each type would be linked to a passive state, ect.
There's some additional information associated with each type- such as the types name and an associated number for pulling off the monster and putting in a variable for events and damage formulas and so forth. As an added layer of complication, some characters will also have these passive states, as they are 'monsters' in lore terms, and will even have their monster type listed in the character status screen (thanks to the example in the tutorial I mentioned above).
I've already figured out how to do all that using note entries in each individual monster or character (type1:name, type1id:x, type2:name, type2id:x are the note entries). It would make life a whole lot easier if I could stick those note entries in the states instead of each individual monster and then retrieve it using a method similar to what I've already figured out how to do. I'd have to copy each state and have one add the type1 notes and the other add type two notes, but that's no big deal.


