Browser plugin - Help pretty please :)

Get help using Construct 2

Post » Tue Mar 26, 2013 5:08 pm

I've stripped down my capx so it just uses the browser, touch, and mouse plugins. Someone please help :) I'm trying to get it so at startup the program will do one of three things. Load a group for user login, load a group for activate account, or load a group for resetting the user password.
What I want it to do:
If the address has a variable called 'page' and it equals 'activate' then activate the activate group.
If the address has a variable called 'page' and it equals 'resetpw' then activate the reset password group.
Otherwise activate the login group.

What happens now is I set up a little test so that each group displays a specific text. The text shows up as "activate" properly and "login" properly but when I try and get the "resetpw" to properly show reset password, nothing happens. Please tell me what I'm doing wrong.
My Help Me Please Capx
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Tue Mar 26, 2013 5:50 pm

Not sure what it was with the repeat statement but switching to a for loop solved the problem and super simplified the code.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604


Return to How do I....?

Who is online

Users browsing this forum: Pandadoor, Yahoo [Bot], Zebbi and 19 guests