RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Script to adjust switch/variable prior to loading

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 75
What the...?
A while back, I thought I saw a script which would allow you to preset a variable and/or switch before the game was loaded or started.   I have this script, Simple HP/SP/State HUD by Jens009.  I want it to be shown, but not at the beginning of the game.  It runs off a switch and I can turn it off easily.  However, at the beginning, you go through a process of choosing your character, and I don't want the HUD visible until the player selects the character.  Even if I flip the switch off immediately at the start of the game, you can still see it for a brief moment at the beginning.

**
Rep: +0/-0Level 78
RMRK Junior
For new game, you can go to script scene title. Find the def command_newgame (i don't remember the exact name) and before the end of that def, control the switch as you like by add this:       $game_switches[switch id] = true/false

***
Rep:
Level 75
What the...?
Thanks!  That worked!  Issue resolved  ;)