XAP File Format: Cue

Parent: Sound Bank

Syntax

Cue 
{
	Name = string;		// no default (name of cue)

// Optional Variation
Variation
{
}
	
// One or more sound variation entries (complex or interactive)
Sound Entry  (complex, non-interactive)
{
}

Sound Entry  (interactive)
{
}

// Transitions: there are exactly (n+1) * n entries, where n = number of sound 
//   entries.  The first n entries represent coming from the "stopped" state,     
// transitioning to each variation.  The transition entries are stored in the same order as the variation sound entry table, thus the first entry corresponds to transitioning from "stopped" to the first variation.  After the "stopped" entries, all variation to variation transitions are stored.  In a cue with 2 sounds, this would give 
// (n+1) * n = (2+1) * 2 = 6 entries:
// stop-> variation 1
// stop -> variation 2
// variation 1 -> stop
// variation 1 -> variation 2
// variation 2 -> stop
// variation 2 -> variation 1

Transition (Interactive cues only)
{
}

// one instance limit
Instance Limit
{
}

}

Elements

Element Type Comment
Variation Section (Optional)
Sound Entry Section (One or More)
Transition Section (See Syntax Comments)
Instance Limit Section