Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Make decals disappear through scripts?
Lihas Offline
Member

Posts: 90
Threads: 11
Joined: Jan 2012
Reputation: 3
#1
Make decals disappear through scripts?

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?
01-26-2012, 02:55 PM
Website Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Make decals disappear through scripts?

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.

01-26-2012, 03:02 PM
Find
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#3
RE: Make decals disappear through scripts?

Would be convenient if they had a Active checkbox so SetEntityActive would work too, but it doesn't. (Just tried it)

Current - Castle Darkuan
Other - F*cked Map
01-26-2012, 03:03 PM
Find
Lihas Offline
Member

Posts: 90
Threads: 11
Joined: Jan 2012
Reputation: 3
#4
RE: Make decals disappear through scripts?

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?
01-26-2012, 03:51 PM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Make decals disappear through scripts?

IIRC, SetEntityActive does not work on entities of type StaticProp.

Tutorials: From Noob to Pro
01-26-2012, 06:01 PM
Website Find




Users browsing this thread: 1 Guest(s)