Post new topic    
Slime
Send private message
How to make Passwords in game? 
 PostSun Oct 21, 2018 8:57 pm
Send private message Reply with quote
So I have tried looking into this on my own for quite some time now, and if I had only known it was this hard I might have asked sooner. here's the situation.

I want to have a secret area which can only be accessed by the player entering a secret password, words or numbers, or both if I'm feeling particularly mean. But it seems like entering the plotscript for this is confusing at best. I guess I've played too many RPG maker games as everyone uses this kind of thing on those games.

Anyone know of anywhere I can learn to do this easier, or perhaps a premade plotscript I can enter?

Any and all assistance in helping me understand this concept would be very much appreciated. Thank you. XD
Metal Slime
Send private message
 
 PostSun Oct 21, 2018 9:16 pm
Send private message Reply with quote
You'll want input string() and string compare().

Failing that, just try using this script:
Code:

plotscript,secretinput,begin
$1 = "secret" #put the secret code you want here
input string (2, 10, false, true) #or whatever max length you want
if(string compare(1,2)) then(
#whatever you want to happen when the code is input correctly
)
else(
#whatever you want to happen when the code isn't input correctly
)

https://twitter.com/ffeenixcks
Display posts from previous: