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
Custom entity not disabling
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#1
Custom entity not disabling

So I made a custom entity ( http://www.mediafire.com/?9440u4uvdsnp53z ) that's just supposed to be an apple that's re-skinned with the blood pool decal texture so that I could use it as an enable-able decal for other entities (in the same way the ptest berral02 is used). However, for some reason, even though the "enabled" check box isn't checked in my map editor, the entity still appears. Does anybody know why it is doing this?

EDIT: and just moments from posting this, I get it to work by changing the item type from "static object" to "moveobject." I have no idea why it works now... anybody else know? >.<

(This post was last modified: 09-07-2011, 11:28 AM by Homicide13.)
09-07-2011, 11:24 AM
Find
MegaScience Offline
Member

Posts: 213
Threads: 1
Joined: Aug 2011
Reputation: 2
#2
RE: Custom entity not disabling

Have you tried SetEntityActive("bloodname", false);?
09-07-2011, 11:29 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#3
RE: Custom entity not disabling

Yes. By setting the object to "static object" it becomes "undisableable". However, you can circumvent this by setting it to "Object" ---> (and then in another drop down menu) "Static object".

[Image: mZiYnxe.png]


09-07-2011, 12:50 PM
Find




Users browsing this thread: 2 Guest(s)