05-27-2012, 07:04 PM
Yea so i have a bookshelf in one room, with 3 empty spaces.
In another room there is a lot of books spread out.
I want the player to take three books, from all of those books on the floor, and put them into the three spaces.
So there has to be a script in the bookshelf which adds and subtracts 1, for every book colliding and not-colliding with it. And this collide-area has to have a certain script that makes the script trigger if 'something' collides with it.
Nothing else can collide with the script, because the spaces are just as small as the books are.
Does this kind of script exist?
I searched a bit for it, and i got that i could take the books names and make a 'for' script.
Is there an easier way around?
In another room there is a lot of books spread out.
I want the player to take three books, from all of those books on the floor, and put them into the three spaces.
So there has to be a script in the bookshelf which adds and subtracts 1, for every book colliding and not-colliding with it. And this collide-area has to have a certain script that makes the script trigger if 'something' collides with it.
Nothing else can collide with the script, because the spaces are just as small as the books are.
Does this kind of script exist?
I searched a bit for it, and i got that i could take the books names and make a 'for' script.
Is there an easier way around?