Geeguz

Regular
Regular
Joined
May 28, 2019
Messages
46
Reaction score
15
First Language
english
Primarily Uses
RMMV
I contacted Galv, the developer of this plugin about this issue and he recommended I reach out on the forums. What I'm looking for I imagine should be simple I just don't know how to do it lol
I just want an option to turn this plugin
On and off in game via a plugin command or script call.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,532
Reaction score
10,975
First Language
English
Primarily Uses
RMMV
That's kinda weird...like it would take as many keystrokes to give the change as it would to say to come here and make a post.

Go to line 77 and change it to read:
Code:
    if (!this.canPass(this.x, this.y, d) && this._collideSeDelay <= Graphics.frameCount && $gameSwitches.value(69)) {
then it will only play the sound when switch 69 is turned on.

Change the number to whatever you like.
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,186
Reaction score
3,435
First Language
Dutch
Primarily Uses
RMMV
you can either set on top (below "(function() {"

if($gameSwitches.value(x)) {

// all the code

and above the bottom line "})()"

}

and x for being the value of the switch.

if that doesn't work as you want, there is an "AudioManager" where you can set it.

Edit:
or like ATT_Turan said which is cleaner ^^
 

Sword_of_Dusk

Ace Attorney
Regular
Joined
Sep 13, 2015
Messages
1,756
Reaction score
1,956
First Language
English
Primarily Uses
RMMV
That's kinda weird...like it would take as many keystrokes to give the change as it would to say to come here and make a post.
Galv might not be doing a lot of plugin stuff and left it to the forums. It's not much of an answer, but it's all I got.
 

Latest Posts

Latest Profile Posts

Mike Final Breaker.png
that time I drew Mike doing Hugo from Street Fighter 3's Shootdown Backbreaker...
So I was thinking about putting in Weapon Synthesis like the Cooking system I got going but after all these recipes I've been putting in the item log and common events for the past week and a half I'ma say no on that one chief

those shops and chests are working just fine lmao
Just watched Godzilla Minus One.
As a Godzilla fan, I loved it. Acting was a little rough, and I thought the ending was cheap, but overall, great!
Could have used more plot.
Plot. I demand more fanservice!
giphy-downsized.gif
I should do a Photoshop with "Everyone Loves Reimond" and just stick Rei in the middle where Raymond's face would be.

Forum statistics

Threads
136,637
Messages
1,268,278
Members
180,323
Latest member
fruy229
Top