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.
Changing Switches inside Scripts

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 90
I have walking sounds that are played from a parallel process common event, with four conditional branches (one for each directional key) these calls a second common event to play the footstep sound for the ground type of the area; however there is a problem with this method. Pressing directional on a choice message (dialog options) plays the footstep sounds. I don't want to put an event in every conversation to turn the footstep switches to 0, and then 1 when the message is gone.

So I want to toggle the switch in the window_message script.
I tried something like $game_switches.switch_id[0003] = 0

It would probably be better if somebody told me how moves were detected in scene_map so I can just put the sounds there (but I'd still have to check if switch 0003 (footsteps) was on or not)
My strength is that of ten men, for I am wired to the eyeballs on espresso!