If Text input == Text input do somting
Posted: Mon Jul 23, 2007 5:56 pm
How do you make a SIMPLE Login screen, in other words, create actor on an ok button,
ok,mousebutton down,
and
And on the user name type in, draw actor,
Pass type in, draw actor
After all this it still doesn't work, what am I doing wrong?
P.S, is there anyway to prevent taskpanel, meta, alt+tab, and menu,I'm trying to make a secerity program.
- Code: Select all
UserCheck = 0;
PassCheck = 0;
ok,mousebutton down,
- Code: Select all
if(UserCheck == 0, PassCheck == 0)
{
PlaySound2("data/Denied.wav", 1.000000, 1, 1.000000);
}
and
- Code: Select all
if(UserCheck == 1, PassCheck == 1)
{
PlaySound2("data/Approved.wav", 1.000000, 1, 0.000000);
MoveTo("view", 320.000000, -239.000000, 1000.000000, "Game Center", "");
}
And on the user name type in, draw actor,
- Code: Select all
if(UserName.text == CurrentUser.text)
{
UserCheck = 1;
}
Pass type in, draw actor
- Code: Select all
if(Password.text == CurrentPassword.text)
{
PassCheck = 1;
}
After all this it still doesn't work, what am I doing wrong?
P.S, is there anyway to prevent taskpanel, meta, alt+tab, and menu,I'm trying to make a secerity program.