Rpg Maker Mv Conditional Branch

Posted by admin

So your game allows the player to name their characters. But there’s a catch, you don’t want the player to name their main character with the same name as another character.

  1. Rpg Maker Mv Download
  2. Rpg Maker Mv Forum
  3. Rpg Maker Mv Pokemon

Rpg Maker Mv Download

Rpg Maker Mv Conditional Branch

Or worse, something unsavory. This tutorial is for cases like that. Create a text file of all the strings or phrases you want to ban from your game. For now I will go with “Ralph” and “Alex”. Create a Common Event called “Name Input Processing”.

Branch

Rpg Maker Mv Forum

Script

Create 2 Labels, One called START and One called VALID.Now under the label START, and assuming you can only name one character and we’re going with Actor#1, put the Name Input Processing Command. Although this is optional and more about personal preference, I would put a Change Name command to set the name to blank. It should look something like this. Code: ◆Label:START◆Change Name:PLAYER1,◆Name Input Processing:PLAYER1, 7 characters◆If:Script:/ralph/i.exec($gameActors.actor(1).name)◆:Else◆If:Script:/alex/i.exec($gameActors.actor(1).name)◆:Else◆:End◆:End◆Label:VALIDAs long as the strings “ralph” and “alex” are present, it doesn’t matter what the case (upper or lower) of the name is, the system won’t accept it.Now just above the Label: VALID, add a Show Message command that says something along the lines of “That name is already taken.” and add a Jump to Label START. Then on the very last “else” of your conditional branch, add a Jump to Label VALID.

Rpg Maker Mv Pokemon

By the end, your event command should look like this.

Is there a way to use logical operators in conditional branches in RPG MAKER MV? Yes of course you can use conditional logic - where exactly are you trying this? Are you talking about the Conditional Branch Event Command? Or are you writing a plugin? If you know Java then you're in luck, JavaScript has extremely similar syntax. So your game allows the player to name their characters. But there’s a catch, you don’t want the player to name their main character with the same name as another character. Or worse, something unsavory. This tutorial is for cases like that. Create a text file of all the strings or phrases you want to.