Table of Contents

Example

Fire Random Chase Step

by: Sebastian Beutel, January 2023
published: here
description: flash and unflash a chase with a random cue
remarks: idea: https://www.facebook.com/groups/Avolites/posts/2723013697830847/

functions

control structures

Code

randomchase.xml
<?xml version="1.0" encoding="utf-8"?>
 
<!--
  Macro to fire a random chase cue
  idea: https://www.facebook.com/groups/Avolites/posts/2723013697830847/
  January 2022, Sebastian Beutel 	
-->
 
<!--
  prerequisites: 
  - program a chase
  - in Options/Playback, set Cue Links to Disabled and Play Order to Random
  - in Options/Times, set XFade to 0%
  - Set Legend, set the chase's user number to 900
  - this macro needs to be moved onto a handle. Copying it breakes it.
-->
 
<avolites.macros>
 
  <macro id="Wiki.Macros.FlashRandomChase900" name="Flash Chase 900 with random cue">
    <start>
      <step>Playbacks.FirePlaybackAtLevel(userNumber:900, level:1, true)</step>
      <step pause="0.01">Chases.Play(userNumber:900)</step>
    </start>
    <end>
      <step>Playbacks.FirePlaybackAtLevel(userNumber:900, level:0, true)</step>
    </end>
  </macro> 
 
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

How to use it