XAP File Format: Event Header

Parent: Branch Event, Play Sound Event, Play Wave Event, Set Effect Param, Set Marker Event, Set Pitch Event, Set Variable Event, Set Volume Event, Stop Event, Wait Event

Syntax

Event Header			
{
Timestamp = #;
Relative = 1 / 0;
Relative Event Index = #;
Relative to Start = 1 / 0;
Random Offset = #;
Random Recurrence = 1 / 0;
}

Elements

Element Type Comment
Timestamp Number (Default 0) Timestamp relative on track
Relative Boolean 0/1 (Default 0) 0: Absolute event, 1: Relative event
Relative Event Index Number Event index of relative event. Required if Relative == 0, must be less than current event's index.
Relative to Start Boolean 0/1 (Default 0) 0: Relative to end, 1: Relative to start
Random Offset Number (Default 0) Random offset for each event recurrence
Random Recurrence Boolean 0/1 (Default 0) 0: Random recurrence only first time, 1: Random offset per recurrence