The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible to make entities disappear?
genmills Offline
Junior Member

Posts: 47
Threads: 7
Joined: Mar 2011
Reputation: 0
#1
Possible to make entities disappear?

Hello again!

I don't always like making a new thread when I have a question or two... but here it goes.

I need to make a painting disappear, because I want the painting to change to a new one. I have a function that sets the inactive painting to active. Something like:
SetEntityActive("painting2", true);

And I was trying to make the first painting disappear with the same function. Something like:
SetEntityActive("painting1", false);

Is there a reason this doesn't work for some objects, and if that's the case, is there an alternative method I can use for changing what painting is on the wall?

Sorry if this has been asked before, but when I use the search feature, like 100 threads come up unless I search with quotes, in which case no threads come up. Sad

Thanks! Big Grin
04-29-2011, 09:51 AM
Find


Messages In This Thread
Possible to make entities disappear? - by genmills - 04-29-2011, 09:51 AM



Users browsing this thread: 1 Guest(s)