UPDATE: May 22, 2016 I found the problem, it had nothing to do with my scripts. When I was testing some scripts earlier I was messing around with the Alpha and Beta channels. Upon deleting those objects, their scripts were not deleted with the object. They were just attached to some other object (even though said object does not list any scripts attached to it). I only noticed this because I was setting things to spin by themselves on a timer, then ended up deleting them. Upon reloading the map, a random object in my map (a wall) was spinning. When looking at the wall, it had no scripts on it, but I could not stop it from spinning. When deleting the wall and replacing, the same thing happened with a different wall when I loaded the map. Upon recreating my map from scratch and coding up this scenario, it works perfectly. So for future reference, always delete all scripts off an object before deleting it. At least until this particular bug is patched. _________________________________________ So I'm having trouble understanding why my script brains aren't triggering the way I would expect them to. I am trying to script 2 fans that will alternate between both off, Fan 1 on, both off, Fan 2 on, repeat (in order to simulate the gravity volumes turning on and off for a mini game I'm making). Each phase would last 60 seconds. Here are the scripts in my brains and fans: SB1: (designed to trigger movement in the blades every 1 second while they should be active) On Timer: Initial Delay = 0, Repeat timer = 1.00, Action = Message Send Charlie SB2: (controls Fan 1) On Timer: Initial Delay = 60.00, Repeat timer = 120.00, Action = Power Set Alpha Toggle On Match Start: Power Set Alpha Off SB3: (controls Fan 2) On Timer: Initial Delay = 120.00, Repeat timer = 120.00, Action = Power Set Bravo Toggle On Match Start: Power Set Bravo Off SB4: (sends signal to either Fan 1 or Fan 2 to cause them to rotate) On Multi Msg: Min trigger 3, Action: Send Msg Delta On Msg Received Charlie On Power Alpha: On On Power Bravo: Off On Multi Msg: Min trigger 3, Action: Send Msg Echo On Msg Received Charlie On Power Alpha: Off On Power Bravo: On Fan 1: On Msg Received Delta, Action = Rotate 180 over 0.90 seconds Fan 2: On Msg Received Echo, Action = Rotate 180 over 0.90 seconds The behavior that I am seeing is: Fan 1 and Fan 2 are off for 1 minute Fan 1 turns on to rotate only once (360 degrees), then turns off Both fans stay off for 1 minute Fan 2 turns on and runs for 2 minutes Fan 2 turns off (both fans stay off for 1 minute) Repeat The expected behavior is: Fan 1 and Fan 2 are off for 1 minute Fan 1 turns on and runs for 1 minute Fan 1 turns off (both fans off for 1 minute) Fan 2 turns on and runs for 1 minute Fan 2 turns off (both fans off for 1 minute) Repeat According to my math the switch states should be as follows (but they aren't behaving like this): A__B___C___D__E__Result____Time 0__0__0/1__0__0__Both off___0-60 1__0__0/1__1__0__Fan 1 on__60-120 1__1__0/1__0__0__Both off___120-180 0__1__0/1__0__1__Fan 2 on__180-240 Repeat Any ideas as to how to fix this?
Best guess is that eventually the timers are syncing and toggeling power states at same time, try offsetting SB3 repeat timer by 121.00, if that doesn't work i have one more idea for a round about way to get it working