- Joined
- Apr 29, 2020
- Messages
- 170
- Reaction score
- 47
- First Language
- English
- Primarily Uses
- RMMV
Hi All,
I am trying to display a list of skills an actor has and the corresponding skill level, through an event. I am currently using a combination of YEP Message Eval (to convert any JS to text) and Skill Master (to actually implement skill levels) plugins to try to achieve this. However, when I tried the following code, it just displays into text "[object, Object]" multiplied by the number of skills the actor has.
All I am trying to do is simply display a list of skills that actor has, followed by the skill level of each skill. So, in the text box, it will appear as something like:
"Skill name of ID 10: Skill level x" - so if the skill name is Double Strike, and the skill level is 5, it will show "Double Strike: Skill level 5"
Appreciate any advise and thank you in advance!
I am trying to display a list of skills an actor has and the corresponding skill level, through an event. I am currently using a combination of YEP Message Eval (to convert any JS to text) and Skill Master (to actually implement skill levels) plugins to try to achieve this. However, when I tried the following code, it just displays into text "[object, Object]" multiplied by the number of skills the actor has.
JavaScript:
$gameMessage.add("\\evalText<<$gameActors.actor(1).skills()>>");
All I am trying to do is simply display a list of skills that actor has, followed by the skill level of each skill. So, in the text box, it will appear as something like:
"Skill name of ID 10: Skill level x" - so if the skill name is Double Strike, and the skill level is 5, it will show "Double Strike: Skill level 5"
Appreciate any advise and thank you in advance!