![]() |
Static "light_box.ent" isn't showing Mesh! - 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: Static "light_box.ent" isn't showing Mesh! (/thread-11018.html) |
Static "light_box.ent" isn't showing Mesh! - Statyk - 10-28-2011 So I'm making a little trick where the lightbox is not allowed to be lit until you open a door with a key, then the script activates the REAL light_box.ent and you may light it then (since it is a "Lamp" entity, it can be lit from anywhere and that avoided the puzzle. I want it to only be able to be lit once the door is open. My solution? make a copy of the entity in the model editor but save it as a static_prop, then have it active, while the "lamp" one is inactive. once the door is opened, the static_prop deactivates and the "lamp" lightbox is activated so you may light it. but before the door is unlocked, the lightbox mesh doesn't show up. The billboards in front of it do though! but I don't need the billboards. I need just the mesh of the lightbox itself. I posted some screenshots. RE: Static "light_box.ent" isn't showing Mesh! - palistov - 10-28-2011 Use script: SetEntityInteractionDisabled("light_box_1", true); to disable the interaction. Use boolean false to re-enable it. RE: Static "light_box.ent" isn't showing Mesh! - Statyk - 10-28-2011 (10-28-2011, 12:36 AM)palistov Wrote: Use script: SetEntityInteractionDisabled("light_box_1", true); to disable the interaction. Use boolean false to re-enable it.JESUS CHRIST!! I'VE BEEN AT THIS FOR LIKE... 4 HOURS AND IT'S "WEIGSOHGTHHHHHAAAAATTTTTT" SIMPLE! GAH. hahahaa!!! thank you for the help dude, much more space saving and simpler... god damnit. RE: Static "light_box.ent" isn't showing Mesh! - palistov - 10-28-2011 Haha no problem ![]() ![]() |