Events based on the player's name

Skraby

Villager
Member
Joined
Oct 1, 2018
Messages
10
Reaction score
3
First Language
English
Primarily Uses
RMMV
So I understand how to have the player name their character using the name input processing command. But what I want to do after that is then be able to have certain events/lines of code that only activate if the player's name is a specific string. So say the player named their character "sonic". A line of code would activate later in the game only if the player is named "sonic" and would say something special like "gotta go fast". If the player is named anything else, the line of code should be skipped. (I'm assuming this part is done using an if statement)
 

BlackGoldSaw

Veteran
Veteran
Joined
Oct 10, 2017
Messages
61
Reaction score
32
First Language
English
Primarily Uses
RMMV
On the second page of "Conditional Branch" Actor -> Name.
 

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,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top