How would I make a door start locked, and then after you go somewhere, view a cutseen, the door is no longer locked?
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
Message Entered Message Activated Sector Enter_sector Int Locked=1 Local #blah... end code Entered: If(Getsenderref() == Enter_sector) Locked = 0; Stop; Activated: If(Locked) Stop; //Blah... Stop; End
# Locked and not # # By Edward symbols message startup message entered message activated thing door sector enterable int locked=1 local
end # code startup: locked=1; MoveToFrame(door,0,100); return; activated: If(GetSenderRef()!=door) return; //IF NOT door, then forget about it! If(locked==1) return; MoveToFrame(door,1,8); return; entered: