Quote:
Originally Posted by Watsamax1
Well i got another question. Id like to open/close a drophips door How like to open it but only if its closed it wont work for me.
|
You could put a boolean variable on the door call "doorClosed" and then make an event in the events panel where if you click on the door, "if(doorClosed), door turn left (or right if that is how it turns) and 'doorClosed' set value to false. Else door turn right (or left) and 'doorClosed' set value to true". You can also have a wall on the door that is vehicle to the door, and that can be in the list of walls for your collision, so when the door is closed you cannot go through, but when it opens you can go through the doorway, the wall will just move with the door.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301