-- Called every time wave is reset to starting point (When losing, or winning too when the reverse winning mode is active). Also called after mission is loaded function OnWaveReset(wave) print('wave reset', wave) end -- Called when the between waves stage begins. This is called after wave success/fail, and after the mission load function OnWaveInit(wave) print('wave init', wave) end -- Called after wave success. Wave parameter is the next wave number function OnWaveSuccess(wave) print('wave success', wave) end -- Called after wave fail, after reset function OnWaveFail(wave) print('wave fail', wave) end -- Called when wave starts function OnWaveStart(wave) print('wave start', wave) end