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
Statue wont deactivate
pawsUp1703 Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jan 2011
Reputation: 0
#1
Statue wont deactivate

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?

It doesn't matter if you love him, or capital H.I.M.
Just put your Paws Up, 'cause you were Born This Way baby!
10-01-2016, 11:23 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Statue wont deactivate

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.

(This post was last modified: 10-01-2016, 12:30 PM by Mudbill.)
10-01-2016, 12:29 PM
Find




Users browsing this thread: 1 Guest(s)