Talk:User Inputs and Outputs: Difference between revisions
Jump to navigation
Jump to search
(user inputs not compatible with all connections?) |
mNo edit summary |
||
Line 1: | Line 1: | ||
I was trying to use UserInputs to setup a logic_relay for the purpose of controlling a light so that when the light was shot out, it would stop functioning. I connected a logic_switch to fire either User1 or User2 on the relay to set the light on or off respectively, and setup the OnUser1 and OnUser2 to turn on/off the light and appropriate models. This all works, but when I tried to connect the OnBreak or OnHealthChanged output of the light models to trigger and disable the relay, it compiles fine, but I get an error in the game engine saying there is a mismatch on the connections. | I was trying to use UserInputs to setup a logic_relay for the purpose of controlling a light so that when the light was shot out, it would stop functioning. I connected a logic_switch to fire either User1 or User2 on the relay to set the light on or off respectively, and setup the OnUser1 and OnUser2 to turn on/off the light and appropriate models. This all works, but when I tried to connect the OnBreak or OnHealthChanged output of the light models to trigger and disable the relay, it compiles fine, but I get an error in the game engine saying there is a mismatch on the connections. | ||
This same technique works fine if I setup two logic_relays, and only use the Trigger inputs instead of the User inputs. Any ideas? | This same technique works fine if I setup two logic_relays, and only use the Trigger inputs instead of the User inputs. Any ideas?—[[User:Coopbmt|Coopbmt]] |
Revision as of 07:51, 7 March 2006
I was trying to use UserInputs to setup a logic_relay for the purpose of controlling a light so that when the light was shot out, it would stop functioning. I connected a logic_switch to fire either User1 or User2 on the relay to set the light on or off respectively, and setup the OnUser1 and OnUser2 to turn on/off the light and appropriate models. This all works, but when I tried to connect the OnBreak or OnHealthChanged output of the light models to trigger and disable the relay, it compiles fine, but I get an error in the game engine saying there is a mismatch on the connections.
This same technique works fine if I setup two logic_relays, and only use the Trigger inputs instead of the User inputs. Any ideas?—Coopbmt