Is there a way to check if the game is deployed?

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
104
Reaction score
60
First Language
Polish
Primarily Uses
RMMZ
Because it starts getting tedious to move the player starting point to devroom every time I want to test something.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,756
Reaction score
2,851
First Language
English
Primarily Uses
RMMZ
$gameTemp.isPlayTest() returns true if you're in test play, and false if it's a deployed game.
 

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
104
Reaction score
60
First Language
Polish
Primarily Uses
RMMZ
$gameTemp.isPlayTest() returns true if you're in test play, and false if it's a deployed game.
Thank you.
Well and it seems that you made a small typo. It is $gameTemp.isPlaytest()
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,732
Reaction score
8,512
First Language
German
Primarily Uses
RMMV
most people create a "cheat item" instead that is given out at the regular starting point and removed before final deployment.

that item would call a common event to call for all kind of effects from cheap levels or items to transportation, so that you can quickly test whatever you want.
 

Latest Threads

Latest Profile Posts

Today's my first login since Jan 2020. Time sure flies. Sorry to everyone's messages i missed.
It's satisfying to master the usage of a hard plugin, then making it do what you want. ( o w o)!!
I'll be redesigning some of the main characters from my many wip stories :kaohi:
gWBWMzT.jpg

Starting with the (chronologically) first of them, Cedric!
gotta love when a plugin you thought had nothing to do with why something else wasn't working winds up being the issue...
Doing RPG Maker News for 26th September 2021

Forum statistics

Threads
115,400
Messages
1,089,579
Members
150,140
Latest member
JackYonder
Top