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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Entity won't activate.
Spazatron Offline
Junior Member

Posts: 33
Threads: 17
Joined: Oct 2012
Reputation: 2
#1
Entity won't activate.

I have an entity that needs to be activated at a certain point with SetEntityActive. I have pretty much the exact same script elsewhere in the game and it works fine, but this time it doesn't want to work. It's not a scripting error, because it happens in a timer with other bits of code and they work fine, it's just this one line of code that doesn't work. I've tried changing the entity to another one, I've tried setting the physics to static, I've tried replaying the story from scratch under a different profile, and it still won't show up. I've also tried moving the line of code (SetEntityActive) to a different place in the script but again, it doesn't work.
(This post was last modified: 10-29-2014, 07:14 PM by Spazatron.)
10-29-2014, 07:12 PM
Find


Messages In This Thread
Entity won't activate. - by Spazatron - 10-29-2014, 07:12 PM
RE: Entity won't activate. - by Mudbill - 10-29-2014, 07:15 PM
RE: Entity won't activate. - by Spazatron - 10-29-2014, 07:20 PM
RE: Entity won't activate. - by Mudbill - 10-29-2014, 08:04 PM
RE: Entity won't activate. - by Spazatron - 10-29-2014, 08:16 PM
RE: Entity won't activate. - by FlawlessHappiness - 10-29-2014, 08:34 PM
RE: Entity won't activate. - by Ongka - 10-29-2014, 10:39 PM



Users browsing this thread: 1 Guest(s)