[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,660
Reaction score
563
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:
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top