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
How can i disable interaction with a light?
str4wberrypanic Offline
Member

Posts: 241
Threads: 24
Joined: Jul 2012
Reputation: 8
#1
How can i disable interaction with a light?

I want the player to be unable to light the lamp, but it looks like that " SetInteractionDisabled " didn't worked. Is there any other script to this?

09-24-2012, 08:04 PM
Find
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#2
RE: How can i disable interaction with a light?

You could change the .ent file.

[Image: 25F7U37.png]
09-24-2012, 08:09 PM
Website Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#3
RE: How can i disable interaction with a light?

Make sure static physics is checked in the second tab (in the level editor).

I rate it 3 memes.
09-24-2012, 08:11 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: How can i disable interaction with a light?

It's SetEntityInteractionDisabled("entityname", true);
09-24-2012, 08:12 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#5
RE: How can i disable interaction with a light?

(09-24-2012, 08:11 PM)andyrockin123 Wrote: Make sure static physics is checked in the second tab (in the level editor).
I'm not completely positive that is going to disable interaction with it. It only makes it float.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
09-24-2012, 08:17 PM
Website Find
str4wberrypanic Offline
Member

Posts: 241
Threads: 24
Joined: Jul 2012
Reputation: 8
#6
RE: How can i disable interaction with a light?

(09-24-2012, 08:09 PM)SmokeMelvin Wrote: You could change the .ent file.
Do you mean create a entity as a static object? How can i do it?

By the way, the static physics thing didn't worked...

(This post was last modified: 09-24-2012, 08:24 PM by str4wberrypanic.)
09-24-2012, 08:24 PM
Find




Users browsing this thread: 2 Guest(s)