kyorin_707

Villager
Member
Joined
Dec 8, 2020
Messages
7
Reaction score
3
First Language
english
Primarily Uses
RMMV
Hello, I'm using the himeworks pre-title event plugin to make my own custom title screen through events. However, I've been trying to create a script call where it allows me to change the MapID used for the plugin.

I am not very familiar with coding, please help.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,270
Reaction score
8,723
First Language
German
Primarily Uses
RMMV
when do you want to execute that script call?
It might be much easier to simply check on a switch first thing on the pretitle map and transfer the player to a different map if that switch is ON.
 

kyorin_707

Villager
Member
Joined
Dec 8, 2020
Messages
7
Reaction score
3
First Language
english
Primarily Uses
RMMV
when do you want to execute that script call?
It might be much easier to simply check on a switch first thing on the pretitle map and transfer the player to a different map if that switch is ON.
Thank you for replying.

I want to execute it depending on the players actions (I'm setting the pre Title event as the title screen, I want changes to happen to the title screen.)

I tried using switches but it didn't work as planned. But I thought creating a script call that simply changes the mapID would be better to avoid a long switch script event.

I've worked with java before on how to create a function script but I'm not sure if it's the game with javascript.
 

Attachments

  • Title Menu script.png
    Title Menu script.png
    120.1 KB · Views: 1
  • Title splashscreen script.png
    Title splashscreen script.png
    141.4 KB · Views: 1

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,270
Reaction score
8,723
First Language
German
Primarily Uses
RMMV
there are two problems with this, which is why I asked for details.

first problem is that "new game" initialises the switches, so they are not defined before it - and the title screen is before it.
the second problem is that the same counts for the script data itself, which means that any change by script command will also be ignored on next gamestart.

In your case you'll need a script modification that has the multiple screens/pictures as default and switches based on setting outside the game as well as giving the game the options to change those settings. I can't think on any other way to get the title react in that way.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,717
Reaction score
1,600
First Language
English
Primarily Uses
RMMV
Look up plugins that allow you to work with meta data - that's saving variables and such outside of the game, outside of saves. You might be able to set up what you want using that.
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...
I don't really have any neat updates today about how I screwed up programming... But if you want to observe the intensenes of me programming, then you can check out my stream :)
New Weapons.gif
No more spam from me today, I promise! Just wanted to upload this, people have been giving me feedback that my weapon sprites (which were RTP) clashed badly with my battlers for ages, so today I finally took the plunge and updated them! Really happy with how they came out :D :D
So Facebook fraudulently took money from me. They even went through my PayPal accounts to find a card that had the money on it. Thinking about deleting my Facebook account because this doesn't happen on twitter, not even close.

Forum statistics

Threads
117,006
Messages
1,103,774
Members
152,903
Latest member
ilvaley
Top