MZ Temporarily Removing Player Shadow?

Hi all.

I have implemented a swimming system, however, once the player enters the water, there is a shadow underneath the player. I know this is caused by the Events and Movement Core VisuStella plugin I have, however, I am looking for advice:

How can I remove the shadow only when the player is swimming (or in my case, within terrain tag 3) and restore the shadow once the player stops swimming (leaves terrain tag 3)?

Sorry if this is a noob question - I am pretty new at this.

​


There's a script in that thread how to remove/restore player shadow with VS Events & Move Core. But it says that you'll need to run it after each battle (if you have battles in water). VS Events & Move Core lets you run common events on region touch, so you can put hide shadow in water region and restore shadow in water edge region. Don't know how fast that updates and if it looks good.

There's a script in that thread how to remove/restore player shadow with VS Events & Move Core. But it says that you'll need to run it after each battle (if you have battles in water). VS Events & Move Core lets you run common events on region touch, so you can put hide shadow in water region and restore shadow in water edge region. Don't know how fast that updates and if it looks good.
It worked! Thank you! 🙂
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/temporarily-removing-player-shadow.167150/