On blinking sequence won't stop when off

why is the on sequence still active when the blade is off? have i used the wrong layer? everything else works fine but i cant figure this out. my blinkers are not blinking right!
(made the sequence in the blade style editor not on fetts style builder so not copyright)

Layers<
  Sequence<Red,Black,100,32,0b0,0b101010001010100>,
  InOutTrL<TrInstant,TrInstant,ColorSelect<IncrementModuloF<EffectPulseF<EFFECT_FORCE>>,TrInstant,Red,SequenceL<Red,300,32,0b0,0b101010101010>,Sequence<Red,Black,100,80,0b0,0b1010101010101010,0b1010101000000000,0b0,0b1010101010101010>>>>

What do you expect it to be doing when blade is off?
You currently have wither Red, A sequence, or another Sequence set as your OFF color, and you cycle through them by doing Force effect.

ColorSelect<IncrementModuloF<EffectPulseF<EFFECT_FORCE>>,TrInstant,
Red,
SequenceL<Red,300,32,0b0,0b101010101010>,
Sequence<Red,Black,100,80,0b0,0b1010101010101010,0b1010101000000000,0b0,0b1010101010101010>>

my goal is to have the first sequence be the on behaviour and then have the off behaviour to be sequences cycled through with force effects. the problem is that when I turn off the blade the on sequence stays and interferes with the off sequences.

Can’t be with the style you posted.
You might be confused with all the Red.
Just change the ON one to green to test.
You’ll see it’s green with blade on, Red when off (or sequences if you do force and cycle through them).

I did that. its flashing green and red.

I figured it out I think, I was using a sequence layer rather than just a sequence and that was merging with the base layer.

is there a way to have the colour change only be active while the force fx is playing or is it just a toggle?

You could just show the layer for a TrDelayX<WavLen<>>.
Either wrap the layer in an AlphaL and set the alpha function on to Int<32768> for the duration of WavLen<>, then set it back to <0>.
Or you could use Mix<> and do the same thing.

interesting. i will give this a go and experiment. do you know if its possible to loop or cancel a force effect? or if you can have an “off sound” when the blade is off the sound plays like the hum would when on?

That’s idle.wav and you would need the latest OS8.x from GitHub.

1 Like

This is available as a Special Ability in my Early Access Library. The Special Ability version works in OS7 and can be easily toggled on or off as needed.

1 Like