Friske
07-26-2008, 12:14 PM
I'm having a little bit of trouble trying to get this to work...
I have the survivors in a zone where if at least one person is in that zone, a cart will move forward. If there's no one in the zone, the cart will stop. The problem is, it won't even budge! :mad:
I'm doing this with a trigger multiple, a math counter, a logic relay, and a func tracktrain.
My trigger multiple covers the zone with this I/O
OnStartTouch math_count1 SetHitMax
OnEndTouch math_count1 SetHitMin
OnTrigger math_count1 Enable Only Once
My math count is supposed to give instruction to 2 logic relays on whether to start of stop the cart.
Initial Value 0
Min. Legal Value 0
Max. Legal Value 1
I/O:
OnHitMax relay1 Trigger
OnHitMin relay2 Trigger
Logic relay 1 starts the cart. I/O:
On Trigger cart1 StartForward
Logic relay 2 stops the cart. I/O:
On Trigger cart1 Stop
I also see this error message in the console:
!! ERROR: bad input/output link:
!! math_counter(kitchencount,SetHitMax) doesn't match type from trigger_multiple(kitchenzone)
It should work, but what am I doing wrong? :huh:
I have the survivors in a zone where if at least one person is in that zone, a cart will move forward. If there's no one in the zone, the cart will stop. The problem is, it won't even budge! :mad:
I'm doing this with a trigger multiple, a math counter, a logic relay, and a func tracktrain.
My trigger multiple covers the zone with this I/O
OnStartTouch math_count1 SetHitMax
OnEndTouch math_count1 SetHitMin
OnTrigger math_count1 Enable Only Once
My math count is supposed to give instruction to 2 logic relays on whether to start of stop the cart.
Initial Value 0
Min. Legal Value 0
Max. Legal Value 1
I/O:
OnHitMax relay1 Trigger
OnHitMin relay2 Trigger
Logic relay 1 starts the cart. I/O:
On Trigger cart1 StartForward
Logic relay 2 stops the cart. I/O:
On Trigger cart1 Stop
I also see this error message in the console:
!! ERROR: bad input/output link:
!! math_counter(kitchencount,SetHitMax) doesn't match type from trigger_multiple(kitchenzone)
It should work, but what am I doing wrong? :huh: