View Single Post
Old March 30th, 2013 (4:18 AM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    Originally Posted by robin22gongon View Post
    Sorry for the noobish question and being a disturbance, I haven't mastered vars yet and I'm more of like exam now lesson later type so...... Ummmm...... Sample?
    All you will need is setvar and compare.

    When you step on a tile, have this:

    setvar 0x[Var: see var list for a good one] 0x[House number]

    Then, put an invisible person or a tile in front of every house for which the script contains:

    checkflag 0x[Override] 'in case you want on override flag
    if 0x1 goto @this_house_is_unlocked
    compare 0x[Var we picked earlier] 0x[House number of this house]
    if 0x1 goto @this_house_is_unlocked
    if 0x0 goto @this_house_is_locked

    I think you can figure the rest out.

    Paired with Simba