05-06-2011, 04:33 PM
Ok, so this is what im aiming to achieve;
you press a switch in room A,
In room B a pair of book shelves swing open to reveal a hidden passage (i want to do this by making the bookshelves de-spawn where they are currently and make similar ones appear in the open position, im want to do this because the bookshelves are full and so it would be too hard for me to tell them to swivel on their axis.)
However, after trying to use a SetEntityActive("shelves", false); function only some of the items de-spawned. After looking closer at the items that did de-spawn i realised they were all forms of intractable entities, whereas the ones that remained in their place were all static (for example, they came from the entity tabs; ornament, storage and desktop.)
Does anybody know a script that will de-spawn items such as these?
Thanks =)
Edd,
you press a switch in room A,
In room B a pair of book shelves swing open to reveal a hidden passage (i want to do this by making the bookshelves de-spawn where they are currently and make similar ones appear in the open position, im want to do this because the bookshelves are full and so it would be too hard for me to tell them to swivel on their axis.)
However, after trying to use a SetEntityActive("shelves", false); function only some of the items de-spawned. After looking closer at the items that did de-spawn i realised they were all forms of intractable entities, whereas the ones that remained in their place were all static (for example, they came from the entity tabs; ornament, storage and desktop.)
Does anybody know a script that will de-spawn items such as these?
Thanks =)
Edd,
