Locked levels...

I'm a noob so forgive me if this is to simple a question...

Basically I have a scene with 9 graphics that are supposed to be the levels, i also have a field in my tables with the name "level_completed" with the value 1

How do i make it so levels 2-9 have a locked graphic on them and cannot be "clicked" unless the level_completed is equal to their value?

Eg:
Level 2 should be "locked" till "level_completed" is greater or equal to 2

Thanks in advance!

Comments

Sign In or Register to comment.