Skip to content

QS0 fade cmd

maybites edited this page Sep 12, 2022 · 1 revision

<fade name="(string)" timeout="time|{expr})">

Simple Example

<anim name="simpleRamp" duration="5s" fadeout="2s">
    <track name="t1">0. 1.</track>
    <send>/address ramp {t1}</send>
</anim>
<wait countdown="2s"/>
<fade name="simpleRamp" countdown="5s"/>

This example starts an animation with a duration of 5 seconds, waits for 2 seconds and then sends the animation a fadeout message.

Attributes

  • name = required. name of animation to fadeout. if the animation is a <while>, it will stop the loop immediately.
  • fadeout = the fadeout time of the animation. This overrides the fadeout-attibute of the <anim> cmd.

Child Commands

  • None

Explained

<fade> sends a 'fadeout' - message to all animations (<anim> , <while>) with the indicated name inside this <que>

Notice

When using {expr} inside 'fadeout' the evaluated number is interpreted as milliseconds.

Clone this wiki locally