Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → How do I make a destroyable button that will activate a door?
How do I make a destroyable button that will activate a door?
2002-05-23, 11:05 AM #1
Hi!
As the topic subject suggests, I want to make a door that will not open unless a button is destroyed!
This is what I did:

1 > Made a door with "func_door" and gave it the "TOGGLE" key.
2 > Made a button with "func_button" and gave it a "health" key value of "1".
3 > Made the button target the door by selecting the button, then the door and pressing "Control K".

Problem:

1 > Button nevers get destroyed!
Therefore, the door dosen't open [http://forums.massassi.net/html/smile.gif]

What the hell can I do?

Kayron James Mercieca - JK2 Mapping
2002-05-23, 11:55 AM #2
somebody smarter better solve this one ... but you'd have to be able to make the button either func_breakable (which cares if you assign a health tag) or a func_explosive (which should care ... lol)

But, sorry, no, I don't think there's a way to make it both ... but ... maybe the targetting you did will cause the door to activate when you explode it.

Better tag the door so it only activates once.

Does anybody else use the term 'tag'?
www.wudan07.com
2002-05-23, 4:53 PM #3
function breakable should do it. give your door a targetname of bamdooor such and the func_breakable a target of bamdoor. this way the func_breakable should fire the target when it's destroyed. haven't tried it but it should work.
2002-05-23, 5:11 PM #4
Give it a health value, I guess. It probably works the same was as a door, but I haven't tried yet.

Would be a good thing to add to my tut [http://forums.massassi.net/html/smile.gif]
http://ugg.codealliance.ca/tutorials/doors

↑ Up to the top!