View Single Post
 
Reply
Posted 2004-05-19, 02:28 PM in reply to caj800's post starting "This will help thanx. But could u help..."
...Switches to open doors? That's basically the same as using a key. You just make the opening-door-switch in one event, (On Key Press, <>Turn switch xxxx:OPEN 001 ON) and the door in another, with 2 pages (one closed, on open with the precondition OPEN 001 is ON)

-------------

As to pushing a block onto a pad, that's actually pretty simple. The block itself would have this line for moving:

<> Move Event - This Event, Face Away From Hero, Move Forward

Then you'd just have it store its X/Y location in two variables (BlockX/BlockY):

<> Variable Oper: [0001:BlockX] Set, This Event X Coord
<> Variable Oper: [0001:BlockY] Set, This Event Y Coord

...which are then compared to wherever you want the block to end up, using a simple nested branch. If they're the same, you set a switch which opens a door event.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube