Help! Help! I originally used the placement plugin EST_Build_And_Decor_EX, and later the flight plugin Galv_Superman. However, when using the placement function in EST_Build_And_Decor_EX, I received an error message: ErrorUncaught TypeError: Cannot read property 'flyShadow' of undefined. Checking the backend information, I received the following error message: Uncaught TypeError: Cannot read property 'flyShadow' of undefinedat Game_Event.hasFlyShadow (Galv_Superman.js:388)at Sprite_Character.setCharacter (Galv_Superman.js:399)at Sprite_Character.setCharacter (Drill_EventShatterEffect.js:395)at Sprite_Character.initialize (rpg_sprites.js:194)at Sprite_Character.initialize (RegionStepOffset.js:76)at new Sprite_Character (rpg_sprites.js:185)at XMLHttpRequest.<anonymous> (EST_Clone_Transform_Delete_Event.js:324)at XMLHttpRequest.onLoad (EST_Clone_Transform_Delete_Event.js:240)at XMLHttpRequest.xhr.onload (EST_Clone_Transform_Delete_Event.js:264)As shown in the image, I'm hoping someone with technical skills can help me. Thank you so much! I hope you can lend a hand. Since the decoration plugin involves multiple other plugins, it would be best to modify Galv_Superman to achieve compatibility.
MV Emergency help, plugin conflicts, flight plugins and placement pluginsResolved
Javascript/Plugin Supportmaybe try the same trick as the other
JavaScript:
return this.event().meta.flyShadow;
// to
return this.event()?.meta.flyShadow;
or the long route
return this.event() && this.event().meta && this.event().meta.flyShadow;
You are such a good person. Thank you for helping me in your busy schedule. Yes, it worked. Now I can have these two great features at the same time. Thank you for your help. I wish you a happy day every day
You openend a thread with the same topic twice.
Anyway, it looks like the event cloner fails to copy "meta". What @ShadowDragon did is to fix Galv's script so it can handle the missing meta, which works fine I guess. However, you will likely come across similar errors soon, as the real issue lies in the event cloner plugin.
Anyway, it looks like the event cloner fails to copy "meta". What @ShadowDragon did is to fix Galv's script so it can handle the missing meta, which works fine I guess. However, you will likely come across similar errors soon, as the real issue lies in the event cloner plugin.
Original thread: https://forums.rpgmakerweb.com/threads/emergency-help-plugin-conflicts-flight-plugins-and-placement-pluginsresolved.179721/