Author Topic: moving bricks  (Read 503 times)

can someone tell me the events of how to make it when you click something it moves and you click it again it moves back like making a slef make book shelf disapear and reapear in another spot like in eksis myst (pic below)
-->
it moveing(by clicking tan part)(its disapearing from doorway and apearing open

Name all the bricks over the book case 'doorClose', and the bricks for when it is open 'doorOpen'.


For the door closed:
onActivate -> NAMEDBRICK (doorOpen) -> dissapear 0
onActivate -> NAMEDBRICK (doorClose) -> dissapear -1


For the door open:
onActivate -> NAMEDBRICK (doorOpen) -> dissapear -1
onActivate -> NAMEDBRICK (doorClose) -> dissapear 0

It's events.
It's OnActivate--NamedBrick/Self(depending on if you want the brick or numerous ones to disappear)--disappear.

Then click the brick and voila!

But if you're doing the named brick function, you might want to name the brick in the first screen thing when you wrench it. Name it the same thing on all the bricks you want to disappear.
-snip-
Damnit, I'm too slow