Constructor
Variables
accuracy:Null<Float>
Accuracy gained from pressing this note. From 0 to 1. null means no accuracy is gained.
animSuffix:String
Suffix of the animation. "miss" for miss notes, "-alt" for alt notes, "" for normal ones.
forceAnim:Null<Bool>
Whenever the animation should be forced to play (if it's null it will be forced based on the sprite's data xml, if it has one).
healthGain:Float
The amount of health that'll be gained from missing that note. If called from onPlayerMiss
, the value will be negative.
Methods
preventVocalsMute():Void
Prevents the vocals volume from being muted in case its a parameter of onPlayerMiss
preventVocalsUnmute():Void
Prevents the vocals volume from being set to 1 after pressing the note.
recycle(note:Note, score:Int, misses:Int, muteVocals:Bool, healthGain:Float, missSound:String, missVolume:Float, ghostMiss:Bool, gfSad:Bool, gfSadAnim:String, forceGfAnim:Bool, forceAnim:Null<Bool>, animSuffix:String, characters:Array<Character>, playerID:Int, noteType:String, direction:Int, accuracy:Null<Float>):NoteMissEvent
Inherited Variables
Defined by CancellableEvent
Inherited Methods
Defined by CancellableEvent
preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c | Whenever the scripts following this one should be called or not. (Defaults to |
---|
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String