RMMV Skill equipment learning Help

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
18
Reaction score
2
Primarily Uses
I’m trying to create the following system where certain equipments equipped to certain characters will temporarily give them certain skills.
I’ve looked at this plugin https://forums.rpgmakerweb.com/index.php?threads/equipment-common-events.57234/
But have been getting [type error cannot read property length of undefined] .
I’m trying to find the most practical way to do this. I’m thinking if I ran it from a common event I would just be doing big if statements all day like.
-if character hero
-if earth argument is equiped
-if skill A is not learned
-Learn skill
(Than repeats for every other skill that that character can learn)
I was thinking if i had it check the note tags for the requirements that might be easier.
Let me know if this needs any more explanation.or if I need to move this to another category in the forums.
Thanks.
 

Binder28

Veteran
Veteran
Joined
Sep 15, 2020
Messages
90
Reaction score
26
First Language
Portuguese
Primarily Uses
RMVXA
That's actually a standard rpgmaker vx ace thing...I am not sure if it's still in MZ since I don't have it...but where you put the features in your weapons (like states, parameters, etc)...there is a tab with skills where you can add skill type, or specific skills....those will only appear on your character if he has the equiped weapon...
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,832
Reaction score
14,023
First Language
English
Primarily Uses
RMMV
Please generate the error, hit F8 to open the developer tools, go to the console tab, and grab a screenshot and post it here. The error message on its own isn't useful.
 

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
18
Reaction score
2
Primarily Uses
Think it can read it from the notes like
<skillLearn: equipID,ActorID,LevelReq>
If equipID,ActorId and LevelReq are all true.
Learn skill.

I’ll get a check at it when I can thanks.

Error page.
1606259426965.png1606261179406.png

Ok, so weird stuff.
Turning off all the plugin's and removing all the note tags gives me this error at the equip screen
type error cannot read property of 'etypeid' of undefined'
I than backed up the my JS files and replaced them with a fresh version of MV, still the same issue.
I think I may have JS file that changed / missing. but i never touched the main JS files.

1606264417318.png

Better error line1606265082906.png

Looks like it might be an issue with the save file, looking into it.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,033
Reaction score
5,334
First Language
Dutch
Primarily Uses
RMXP

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


hoboayoyo, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


I've merged your six posts together. Please just use the 'Edit' button next time.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,192
Reaction score
1,189
First Language
Dutch
Primarily Uses
RMMV
@hoboayoyo we only need the console log, not the other ones which is irrelitive.
as well, can you show your plugin database?

My guess is that your plugin order is in the correct order, missing a plugin,
or your miss something in the notetag (which is usefull as well which one you used).
 

Frostorm

[]D[][]V[][]D aka "Staf00"
Veteran
Joined
Feb 22, 2016
Messages
1,846
Reaction score
1,599
First Language
English
Primarily Uses
RMMV
Do you even need a plugin for that? Why don't you just add the skill from the traits section of the equipment in question?
1606310008419.png
 

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
18
Reaction score
2
Primarily Uses
ok, so it looks like it was the save file that was causing the issue... weird.
 

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
18
Reaction score
2
Primarily Uses
Because different actors will acquire different skills.
 

Latest Threads

Latest Posts

Latest Profile Posts

Where is the "world-weary sigh" comment response when you need it? I need that one more than anything, but the closest we have is "wow" or "angry".
My apologies if it's out-of-place for my goyim-lookin' ass to be the one to say it, but the mythology of "Golems" is that they were created by Rabbis to protect Jewish villages from Anti-semetic attacks.
I'm moving on from RMXP finally. I've been stuck in a difficult decision between XP and MZ, and I've given up and moved on to MZ. Overall I'm really liking it, I wish tilesets were easier to setup like XP, but it's actually not that bad!
Have you ever gone full 'Ship of Theseus' while frankenspriting? Because I just did.
I saw my new eye doctor today, he reminds me of Satoru Iwata for some reason

Forum statistics

Threads
107,774
Messages
1,032,049
Members
139,917
Latest member
Zaphiro
Top