XAP File Format: Instance Limit

Parent: Category, Cue

Syntax

Instance Limit
{
Max Instances = #;
Transition Type = 0 / 1;
Behavior = 0 - 11;

Crossfade
{
}

}

Elements

Element Type Comment
Max Instances Number
Transition Type Number (0-1) 0: Crossfade, 1: Pause/Resume (not currently supported)
Behavior Number (0-11) 0: Fail to play, 1: Queue, 2: Replace newest, 3: Replace Oldest, 4: Replace quietest, 5: Replace loudest, 6: Replace lowest priority, 7: Replace highest priority, 8: Replace most distant (currently not supported), 9: Replace closest (currently not supported), 10: Replace most instances (currently not supported), 11: Replace least instances (currently not supported)
Crossfade Section