List of Custom Methods: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:
! Custom Method !! Description
! Custom Method !! Description
|-  
|-  
| <code>MistakeOrHeal(float'''DamageOrHeal''')</code> || Positive values will do the 'note missed' vignette flash and sound effect, and add specified number of misses to the hit stats, decreasing the rank accordingly.<br>Negative values will do the 'note hit' vignette flash and remove number of misses from the hit stats, improving the rank accordingly. Early & late stats will be unaffected.<br>Has no effect on heart visuals.
| <code>MistakeOrHeal(float'''DamageOrHeal''')</code> || Positive values will do the "''note missed''" vignette flash and sound effect, and add specified number of misses to the hit stats, '''decreasing the rank accordingly'''.<br>Negative values will do the "''note hit''" vignette flash and remove number of misses from the hit stats, '''improving the rank accordingly'''. Early & late stats will be unaffected.<br>Has no effect on heart visuals.
|- <!-- from [[Play Song]] vvv -->
|- <!-- from [[Play Song]] vvv -->
| <code>CurrentSongVol(float'''TargetVolume''', float'''FadeTimeSeconds''')</code> || Sets the volume of the most recently played song to '''TargetVolume''' over the time given in '''FadeTimeSeconds'''.
| <code>CurrentSongVol(float'''TargetVolume''', float'''FadeTimeSeconds''')</code> || Sets the volume of the most recently played song to '''TargetVolume''' over the time given in '''FadeTimeSeconds'''.
Line 19: Line 19:
|-
|-
| <code>OneSongAtATime(bool'''Enabled''')</code> || Stops the previous song as soon as a new [[Play Song]] event is triggered.
| <code>OneSongAtATime(bool'''Enabled''')</code> || Stops the previous song as soon as a new [[Play Song]] event is triggered.
|- <!-- from [[Shake Screen]] vvv -->
| <code>smoothShake = bool'''Enabled'''</code> || Replaces screen shakes with a smooth version. '''Note''': this seems to only work with ''OnPreBar''. This method may make the room display incorrectly when completed.
|-
| <code>rotateShake = bool'''Enabled'''</code> || Replaces screen shakes with a rotation shake. '''Note''': this method may make the room display incorrectly when completed.
|}
|}
<!-- please add more
<!-- please add more

Navigation menu