you can do it probably in 2 ways it's best:
either use .opacity = 0 (or .opacity = false😉 or (.opacity = null😉
or the easier way of moveroute (this event or target the event to change
opacity to 0.
the 2nd one throught moveroute is the one I would use because easier
to control and targetting the events 🙂
use 1 = $gameMap.event(7).opacity = 0;
otherwise you need a tiny setup before hand
let ev = 7;
let opacity = 0
$gameMap.event(ev) = opacity;
it might return true in any way though.
you can use the console log to test things out.
I'm getting "... is not a function" or "YEP Core(or movement" script errors. I found a workaround which has nothing to do with opacity, but I still would like to know how come it didn't work for me.
this might work for scriptcall:
$gameMap.event(this._eventId).setOpacity(0);
$gameMap.event(x).setOpacity(0)
if you want it to control it by variable:
$gameMap.event(this._eventId).setOpacity($gameVariables.value(y), 0);
if those dont work, than I dont know anymore, but x = ID of the event,
and y for variableID if used if you want to change it in a different way.
It works! Thank you for your time! 🙂