Switch "key" question and When using 'If'

Emerae
When you're setting up keys for a Switch that uses text input, is there any way of adding synonyms to the key itself so that if you type in a variation of the word it will act accordingly?

Say I have the key listed as the player. Is there anyway to set it up like "player, yourself, you" ect to where typing any of those keywords is read the same way and runs the associated script?

Also...when using 'If' do you have to add an "else"? I want to make it so if a player has a certain flag one of the characters move to a different room after you leave. I've managed to set it all up fine and it works if add an else, but I don't really want anything to happen if the player has no flag. In other words, I don't want any alternative action to happen. Do I just leave it blank?

Pertex
Yes, switch can handle multiple keywords. Try "player", "yourself", "you"

You must not use else if you don't need it. Just leave it blank

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums