Help with accent LEDs

I am trying to get my v1 accent LEDs to behave the way I want but I am struggling.
I want them to behave in the off state as they did in the cave scene and for the on state I want only the green on. but I also want the single red LED to be on for a few seconds after turning the blade off, before reverting to the flashing sequence. I tried using a post off effect but it didn’t seem to work nor did a retraction effect.

I have some of the working code from my old config file, its far simpler than any I have tested form creating in the blade style library but it doesn’t do what I’m trying to do.

StylePtr<Layers<Red,InOutTrL<TrInstant,TrInstant,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>>>>(),
	
	StylePtr<Layers<Green,InOutTrL<TrInstant,TrInstant,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>>>>(),},

any help would be appreciated.

What is a “v1 accent led” ?

Since you’re talking about the “cave scene”, I’m guessing that this is a Luke saber?

Generally speaking, when you want something to do A when on and B when off, you just do:

StylePtr<Layers<A, InOutTrl<OUT_TRANSITION, IN_TRANSITION, B>();

This thread from 2019 seems to have some Sequence<> styles that might be relevant here:

Thanks for the help, i will get looking though the thread and trying things!

My library has the code for the Green and Red Arrow.

Choose Accent LEDs/PCB

Then in Enhancements screen set ON Behavior to “Custom” and choose the “Luke ROTJ (Green Arrow) / (Red Arrow)” from the dropdown.

You can also set for OFF Behavior to match.