PDA

View Full Version : Turning an animlightpoint on/off



nicked
26th Jan 2009, 20:14
I want to turn on an AnimLightPoint with a button, but a simple control device ain't working. The light is always on at the start.
I tried ticking "Inactive" but that didn't seem to have any effect. I even tried triggering a teleporttrap linked to the light, but that didn't do anything.

So how do I create an animlight that starts off and turns on when a button is frobbed?

In the abscence of TTLG I'm at a loss. :mad2:

Thanks!

qolelis
26th Jan 2009, 21:31
Without being able to check in DromEd (so details may differ):

One way is to choose an off-like light mode for the AnimLight. AnimLight then switches the mode to the corresponding on-like light mode on receiving TurnOn.
Another way is to link a lever to the AnimLight and check "On" and "Reverse" in JointsState on the lever. This makes the lever send TurnOff to the AnimLight at the start.

goldsla
26th Jan 2009, 21:57
I believe this is correct:

Set AnimLight>Mode>minimum brightness. That will start the light off. Have the switch's JointsState to be [None]; [None]; On; [None] ... [None]

If you are using a button, you need a TrapFlipFlop between the button and the light. Buttons only send TurnOn, ans you need alternating TurnOn/TurnOffs.