I have the gate:
https://files.facepunch.com/forum/upload/250152/a129f5ff-2ea9-469f-bb41-196b9974c9e7/image.png
And it can open through +use.
How to prevent it and make opening only through the button?
Some settings of this:
https://files.facepunch.com/forum/upload/250152/258680b8-cb03-465a-9d9a-b07afe8580ed/image.png
https://files.facepunch.com/forum/upload/250152/32f18549-a0c8-468f-ac8f-8ddfd24c38ed/image.png
Use the "Flags" menu.
So what I need?
https://files.facepunch.com/forum/upload/250152/8491f167-19eb-449f-99b7-4bad32e757e0/image.png
Well, if the fence is a prop_dynamic, then there's no reason for it to open on its own (as in pressing E on it) if that's what you implied. The func_button should do all the work. You should look up how to do it exactly on the Wiki, but basically, if I'm not mistaken, you should do the following:
Create a brush that fills the same space as the fence and make it a func_door
Make the fence use the func_door as parent (to make them move together)
Write up the outputs of the func_button so that when pressed, the func_door activates (and thus starts moving).
Well thanks, I fixed that. I saw a func_door above the gate model and uncheck 'Touch Opens' !
Ah there was already a func_door? That's why then. So yeah, uncheck "[anything] Opens" and then only the button should be able to open it.
Sorry, you need to Log In to post a reply to this thread.