The Mirin Template

The NotITG Mirin Template. Easily create modfiles using Lua.


Project maintained by XeroOl Hosted on GitHub Pages — Theme by mattgraham

Back to main page

Set

set {beat, percent, mod}

Use the set function to set a mod to a specific value at a specific beat in the song.

Arguments:

beat: number The song beat when the mod applies.
percent: number The target amount to set the mod to.
mod: string The mod to apply.

Examples:

set {0, 1.5, 'xmod'}
set {10, 100, 'invert'}

The set function can also take more than one percent/mod at a time.

set {
	1, -- the song beat
	100, 'invert',
	100, 'drunk',
	100, 'bumpy',
}

The set function can also be player specific.