This error appeared when i tried to use moghunter's plugin. Does anyone know what could be the cause?
MZ MOG_BattleHud: Error "Cannot set property 'faceBreath' of undefined"
Javascript/Plugin Supporthow did you configure the plugin?
"of undefined" basically means that the engine was given a reference that does not exist.
if this happens with a new plugin it usually means that one of the default values of the plugin configuration is wrong.
it could also be that you loaded an old and incompatible savefile, that you set a notetag wrong (or are missing a required notetag) and a few other possibilities.
for more detailed help we would need a description of what exactly you were doing before the error came, and a console screenshot of this error (press F8 when the error message comes, then switch to the console tab and then make a screenshot)
"of undefined" basically means that the engine was given a reference that does not exist.
if this happens with a new plugin it usually means that one of the default values of the plugin configuration is wrong.
it could also be that you loaded an old and incompatible savefile, that you set a notetag wrong (or are missing a required notetag) and a few other possibilities.
for more detailed help we would need a description of what exactly you were doing before the error came, and a console screenshot of this error (press F8 when the error message comes, then switch to the console tab and then make a screenshot)
It only happens when i enter a battle.
The files required for the plugin to work are already in the correct folder.
...maybe i'll try starting a new savefile and see if that's the problem?
Still, this is the console screenshot
The files required for the plugin to work are already in the correct folder.
...maybe i'll try starting a new savefile and see if that's the problem?
Still, this is the console screenshot
that is notwhat I meant with configuration.
most of moghunters plugins require notetags to know what to do, so have you checked which notetags the plugin requires and if you added them without typos?
that should always be your first step
80% of all changes in the plugin manager (adding or removing a more complex plugin) will absolutely require you to start a new game
Update: Starting a new save file from scratch was the solution! So yeah...
I feel kinda stupid now... but i hope my mistake helps someone else not fall for the same thing XD
I feel kinda stupid now... but i hope my mistake helps someone else not fall for the same thing XD
Original thread: https://forums.rpgmakerweb.com/threads/mog_battlehud-error-cannot-set-property-facebreath-of-undefined.170043/