Hello !
Is there way hide/show event in JavaScript ?
thx
Is there way hide/show event in JavaScript ?
thx
Just to change whether the event is visible?
// Set the calling event to transparent
$gameMap.event(this._eventId).setTransparent(true)
// Set event #5 to visible
$gameMap.event(5).setTransparent(false)
// Set the player to transparent
$gamePlayer.setTransparent(true)
It's not usable to create 20 switches or 20 pager per each stuff in game..
Original thread: https://forums.rpgmakerweb.com/threads/how-to-hide-show-event-by-javascript.151720/