Frictional Games Forum (read-only)

Full Version: Make decals disappear through scripts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.
Would be convenient if they had a Active checkbox so SetEntityActive would work too, but it doesn't. (Just tried it)
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?
IIRC, SetEntityActive does not work on entities of type StaticProp.