View source
class NoteScriptEvent
package funkin.modding.events
extends ScriptEvent
import funkin.modding.events.ScriptEvent
extended by HitNoteScriptEvent, HoldNoteScriptEvent
Available on all platforms
An event that is fired associated with a specific note.
Constructor
new(type:ScriptEventType, note:NoteSprite, healthChange:Float, comboCount:Int = 0, cancelable:Bool = false)
Variables
read onlycomboCount:Int
The combo count as it is with this event. Will be (combo) on miss events and (combo + 1) on hit events (the stored combo count won't update if the event is cancelled).
healthChange:Float
The health gained or lost from this note. This affects both hits and misses. Remember that max health is 2.00.
read onlynote:NoteSprite
The note associated with this event. You cannot replace it, but you can edit it.