Frictional Games Forum (read-only)
How can i disable interaction with a light? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How can i disable interaction with a light? (/thread-18492.html)



How can i disable interaction with a light? - str4wberrypanic - 09-24-2012

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?


RE: How can i disable interaction with a light? - Melvin - 09-24-2012

You could change the .ent file.


RE: How can i disable interaction with a light? - Adny - 09-24-2012

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


RE: How can i disable interaction with a light? - Statyk - 09-24-2012

It's SetEntityInteractionDisabled("entityname", true);


RE: How can i disable interaction with a light? - Robby - 09-24-2012

(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.


RE: How can i disable interaction with a light? - str4wberrypanic - 09-24-2012

(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...