Weld Question
sexeh
Join Date: 2003-10-17 Member: 21740Members
<div class="IPBDescription">This is not a newbie question.....</div> ok here’s my question. I want to set up a weldable door that will open when welded, then once open can be open closed with a button. The problem is in order to do this you need to trigger the button on and off using a master, but the master option doesn’t work for some reason.
setup:
multisource = master (name "xdoor")
|
func_weldable = (trigger on finish "xdoor") triggers multisource, multisource triggers func_button to no state and will open close the door.
but this doesn’t work.....
can someone help <!--emo&:)--><img src='http://www.natural-selection.org/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
setup:
multisource = master (name "xdoor")
|
func_weldable = (trigger on finish "xdoor") triggers multisource, multisource triggers func_button to no state and will open close the door.
but this doesn’t work.....
can someone help <!--emo&:)--><img src='http://www.natural-selection.org/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Comments
setup:
multisource = master (name "xdoor")
|
func_weldable = (trigger on finish "xdoor") triggers multisource, multisource triggers func_button to no state and will open close the door.
but this doesn’t work.....
can someone help <!--emo&:)--><img src='http://www.natural-selection.org/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
Welders are funky as multisource inputs -- have the welder target a trigger relay (initial state off, trigger state toggle), and have the trigger relay target the multisource. You'll want to toggle the trigger relay back to the off position at the end of each round. If you want the door to open immediately once the weld is finished in addition to having the ability to open, you'll have to target the door as well as the multisource from the func_weldable.
3.0 is feature complete, but I'd like to see better support for round reset in the next client release after 3.0 (which may not be for a while, since 3.0 is meant to stand on its own).
The func_button can not be turned off initially. so instead of welding the weld point you can just walk up to the button and press use and it will open.....
I want the door and button to be nonfunctional untill they're triggered by the weld point.
is this possible?
The func_button can not be turned off initially. so instead of welding the weld point you can just walk up to the button and press use and it will open.....
I want the door and button to be nonfunctional untill they're triggered by the weld point.
is this possible? <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
The basic functionality (without proper round reset) <i>should</i> be working with the following setup:
func_weldable
- targetOnFinish "xdoor_relay"
trigger_relay
- targetname "xdoor_relay"
- target "xdoor_multi"
- triggerstate "2"
trigger_relay
- targetname "xdoor_relay"
- target "xdoor"
- triggerstate "1"
multisource
- targetname "xdoor_multi"
func_button
- targetname "xdoor_button"
- master "xdoor_multi"
- target "xdoor"
func_door
- targetname "xdoor"
EDIT: If this setup doesn't work, using a global state bit to control the master would be another thing to try.
Worked like a charm <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
I want your ****** IQ damn it <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->