[SCRIPT] Make decals disappear through scripts? - 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) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Make decals disappear through scripts? (/thread-12881.html) |
Make decals disappear through scripts? - Lihas - 01-26-2012 I'm making a custom story, and I really want to have inactive decals, and then, through a specific script, make them active and visible. Any ideas? RE: Make decals disappear through scripts? - palistov - 01-26-2012 Decals can't be set active or inactive. You'll need to create an entity out of them. Should be some thread somewhere in the resources/articles forum about this, but I'm not entirely sure. RE: Make decals disappear through scripts? - Shadowfied - 01-26-2012 Would be convenient if they had a Active checkbox so SetEntityActive would work too, but it doesn't. (Just tried it) RE: Make decals disappear through scripts? - Lihas - 01-26-2012 I created an entity of them, but it still didn't work when I use SetEntityActive. Could it be something in the user variables in the settings of the entity? RE: Make decals disappear through scripts? - Your Computer - 01-26-2012 IIRC, SetEntityActive does not work on entities of type StaticProp. |