// lite // i swear v2 was unreadable WaveSchedule { PointTemplates { textualtimer_v3 { OnSpawnOutput { Target bignet Action RunScriptCode Param "IncludeScript(`textualtimer_v3`, getroottable())" } } } SpawnTemplate textualtimer_v3 } // Comes with a handful of other functions // Call the functions through output blocks like PointTemplate's OnSpawnOutputs or WaveSpawn's FirstSpawnOutputs // FirstSpawnOutput // { // Target bignet // Action RunScriptCode // Param "TextualTimer.Pause()" // } // TextualTimer.SetParams(table) // Customizes the timers default values, minutes/seconds should be set before the wave starts // // Example Usage (not all keyvalues are required): // TextualTimer.SetParams({ // minutes = 5 // seconds = 30 // x = 0.75 // y = -1 // color = `255 255 0` // relayname = `boss_deploy_relay` // }) // TextualTimer.Start() // Starts the timer // TextualTimer.Pause() // Pauses the timer, call again to unpause // TextualTimer.End() // Ends the timer // TextualTimer.Set(seconds) // Sets the current time in seconds // TextualTimer.Add(seconds) // Add to the current time in seconds // TextualTimer.AddCallbacks(table) // Add functions to the timer that will execute at specified times // Can override values including what executes when time runs out // // Example Usage: // TextualTimer.AddCallbacks({ // `0` : function() // { // ClientPrint(null, 3, `Wave Lost`) // } // `5` : function() // { // ClientPrint(null, 3, `5`) // } // `4` : function() // { // ClientPrint(null, 3, `4`) // } // `3` : function() // { // ClientPrint(null, 3, `3`) // } // `2` : function() // { // ClientPrint(null, 3, `2`) // } // `1` : function() // { // ClientPrint(null, 3, `1`) // } // }) // TextualTimer.RemoveCallbacks(array) // Removes functions that execute at the specified times // // Example Usage: // TextualTimer.RemoveCallbacks([0, 1, 2, 3, 4, 5]) // TextualTimer.ClearCallbacks() // Resets the timer's callback functions to default