Frictional Games Forum (read-only)
Statue wont deactivate - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+--- Thread: Statue wont deactivate (/thread-52715.html)



Statue wont deactivate - pawsUp1703 - 10-01-2016

Hey guys,
I'm using the deformed man statue from TDD and I want it to be invisible from start but activate at a later point. However unticking the active box in the leveleditor doesn't do anything for that statue neither does the setEntityActive script. Can this statue be deactivated somehow?


RE: Statue wont deactivate - Mudbill - 10-01-2016

If the entity is set to "StaticProp" type, then it cannot be interacted with, not even with scripts. You will either need to create your own entity and edit it to instead be "Object > Static" or maybe SetPropVisibleAndFade works on it. That script might, as it was intended for static objects, but don't remember if it works for static entities.