I currently have a partial script test started, where if the [name] matches a [variable] the [password] should be displayed in a text box so i can see if it is working. once i get this working i want to exchange the text for a switch to turn on the variable and the character saying "a door unlocked", but i don't know how to
1. make it so a text box appears normally via code
2. place/change the face which normally appears with a text box
3. turn variables on/off in code
Here's my current test code
Spoiler
if $game_actors[15].name == $game_variables[3]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Child"
elsif $game_actors[15].name == $game_variables[4]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Loss"
elsif $game_actors[15].name == $game_variables[5]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Running"
elsif $game_actors[15].name == $game_variables[6]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Prisoner"
elsif $game_actors[15].name == $game_variables[7]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Regret"
elsif $game_actors[15].name == $game_variables[8]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Kitandcat"
else
@>Text: 'mehappyish', 0, Normal, Bottom
:"there is no password"
end
@>Text: 'mehappyish', 0, Normal, Bottom
:"Child"
elsif $game_actors[15].name == $game_variables[4]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Loss"
elsif $game_actors[15].name == $game_variables[5]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Running"
elsif $game_actors[15].name == $game_variables[6]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Prisoner"
elsif $game_actors[15].name == $game_variables[7]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Regret"
elsif $game_actors[15].name == $game_variables[8]
@>Text: 'mehappyish', 0, Normal, Bottom
:"Kitandcat"
else
@>Text: 'mehappyish', 0, Normal, Bottom
:"there is no password"
end
Can someone help me please?