[Ace] McDohl's Journal Script

Status
Not open for further replies.

FeiLin

Cats are cute!
Member
Joined
Mar 16, 2019
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I have been wondering about this; after I finally found a Journal script.

Is it possible to add a switch on it? I want the journal to show on the menu screen when its switch turns on at some point on the game or when the player received/acquired the needed "item" to activate the journal.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,224
Reaction score
453
First Language
English
Primarily Uses
RMVXA
Certainly.

Add in
Switch = 1 # change to your desired switch
to the module. Maybe line 80.

Then modify the menu command to show up when the switch is on, like this
add_command(RETCON::Journal::Name, :journal, $game_party.journal_active) if $game_switches[RETCON::Journal::Switch]
line 415
 

FeiLin

Cats are cute!
Member
Joined
Mar 16, 2019
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Certainly.

Add in
Switch = 1 # change to your desired switch
to the module. Maybe line 80.

Then modify the menu command to show up when the switch is on, like this
add_command(RETCON::Journal::Name, :journal, $game_party.journal_active) if $game_switches[RETCON::Journal::Switch]
line 415
Like this:


I tried putting it in like 415 but it gave me an error so I tried putting it in line 417-418:

But it still gave me this error:


Edit: Wait. It worked now. I just added another end in line 421. The problem now is that the journal is still active or is shown even if the switch isn't on yet.

Edit: Nevermind! I got it to worked now xD I read your reply again and tried putting the if back to the same line with the add_command.

Thank you!
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,852
Reaction score
11,062
First Language
English
Primarily Uses
RMVXA
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Check out SpokenWord- my text-to-speech plugin for RPG Maker MV!
just watched spacex launch. was awesome.
Jumping and gravitation 0.1 build - RPG Maker MV
Currently playing final fantasy 3 on DS. It's an old one but its a classic.

Forum statistics

Threads
97,957
Messages
948,117
Members
129,203
Latest member
mizz
Top