RMMV Skill equipment learning Help

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
15
Reaction score
1
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
88
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,718
Reaction score
13,993
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
15
Reaction score
1
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,011
Reaction score
5,325
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,135
Reaction score
1,160
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,831
Reaction score
1,589
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
15
Reaction score
1
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
15
Reaction score
1
Primarily Uses
Because different actors will acquire different skills.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

YAY!!! My third help Guide STEAM integration in MV (High performance) has been posted!

Both the polls for the 3rd Original Character Contest ended with 5th place ties! So let's break those ties. Vote now for your favorite of the ones tied!


werewolf and his friends added!!

YAY! I just posted my third Guide! Setting up STEAM Integration in RPG Maker MV WITH updated NW.js (huge performance update)
rux
MUCLSES!!! :epicface: :epicface:

Forum statistics

Threads
107,510
Messages
1,030,145
Members
139,635
Latest member
Kankuro
Top