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
Help! Entity not active still shows??
bri2ny Offline
Junior Member

Posts: 4
Threads: 2
Joined: Sep 2012
Reputation: 0
#1
Question  Help! Entity not active still shows??

Okay...so, the whole idea is that when Player collides then leaves "Area_1", a door that was previously locked (let's call it "Door_1") becomes inactive and "Door_2" (which is mansion_off_hinges_1) becomes active...Well, my issue here is that "Door_2" is visible when it's not supposed to be.


The entity itself is unchecked next to "Active" in level editor. In my script file, I have a line that says SetEntityActive("mansion_off_hinges_1", false);

So neither of these things are working to keep the entity from appearing when it's not supposed to be. I'm not sure what exactly I should post besides some lines from my script file that pertain to the door. I put the code in pastebin because the code brackets on this website still reformat my script lines.
(This post was last modified: 09-05-2012, 04:16 AM by bri2ny.)
09-05-2012, 01:54 AM
Find


Messages In This Thread
Help! Entity not active still shows?? - by bri2ny - 09-05-2012, 01:54 AM



Users browsing this thread: 1 Guest(s)