$TEST in MV

Is there a way to tell if the game is being played via the Test Play button in the editor?


DataManager's 'test' check seems to be determining whether it's a battle test or an event test, which is not the kind of test I'm interested in.



I want to add some logic to my plugin that will only run when the game is being played from the editor, as I want the script to update itself with a list of resources.  But when the game is deployed and players are running it via the exe, I don't want this part of the plugin to run.


Edit: nevermind - $gameTemp.isPlaytest() seems to be what I'm after.
Utils.isOptionValid('test')
lol - thanks - I just found it myself 🙂


Your command is better than mine though, as $gameTemp won't exist at the time I need to call it.
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/test-in-mv.66397/