{
if (alState == 1)
{
SetMoveObjectState("Shelf", 1);
}
}
I have named the moveable book to "Book", and placed a area near the book, and i have named it "Book_Area". The shelf name is "Shelf", and i have places a area near the corner of the shelf, where i want it to rotate, and named it "RotateShelf, and i have named the "RotateShelf" in the AngularOffsetArea on the Shelf.
Any help would be highly appreciated! Thanks in advance!
(This post was last modified: 11-08-2013, 09:29 AM by Efendi.)
I have tried to add few more books, when you have all books drawn, then the secret shelf will rotate. It doesn't require any given order, just that when all books have been drawn. I have tried many hours to try to get it to work, but with no results. I know the problem is simple, just that i don't seem to get the hang of it.
Thanks for any answer in advance!
(This post was last modified: 11-11-2013, 08:51 PM by Efendi.)
(11-11-2013, 07:20 PM)daortir Wrote: What is the exact name of the shelf you are using ? I mean not the one you gave to the shelf, but the one it has in the level editor.
The shelf name is shelf_secret_door.ent
I actually didn't get the shelf to rotate, with any kind of shelf entitys. It only goes sideways, but i figured that will do.
The main issue for me is still that i don't get the shelf to move, when i try to combine more books to the script. I will be back to write some updates, if i manage to get it to work.