Frictional Games Forum (read-only)

Full Version: How can i disable interaction with a light?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
You could change the .ent file.
Make sure static physics is checked in the second tab (in the level editor).
It's SetEntityInteractionDisabled("entityname", true);
(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.
(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...