I want to use a script call to invoke the screen effect of starting a battle, how?

I just want that screen effect on the map, I do NOT want to trigger any battle
I have tried:
$gameScreen.onBattleStart()
in the script call but nothing happens.
is this do-able in MV?
I'm not sure what do you mean exactly, but you can use screen shake, animations with screen blinking and transitions to recreate it?
Heya! I believe ct_bolt made something that might fit what you're looking for as per [this thread]

and the download link can be found: https://ct-bolt.itch.io/rmmv-encounter-effect-before-code

Though I imagine it depends on where you intended to use it if it would be suitable for your own use case.
SceneManager._scene.startEncounterEffect(); - To start a battle scene, without a battle))

SceneManager._scene.stopEncounterEffect(); - To return to the game
QQ图片20230215182651.png


Thank you everyone, I have done it myself.
This effect is super close to the
Scene_Map.prototype.updateEncounterEffect = function()

I've moved this thread to MV Support. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-use-a-script-call-to-invoke-the-screen-effect-of-starting-a-battle-how.154981/