Added flashing and distractions as variables in modcharts
This commit is contained in:
parent
b2af14e752
commit
ee48eab1e3
@ -150,6 +150,8 @@ Kade Engine provides a list of global variables to be used in the lua scripting
|
||||
| scrollSpeed | Int | The current scrollspeed |
|
||||
| mustHit | Bool | If the current section is a must hit section |
|
||||
| strumLineY | Float | The current Strum Line Y Position |
|
||||
| distractions | Bool | Whether the player has distractions enabled |
|
||||
| flashing | Bool | Whether the player has flashing lights enabled |
|
||||
|
||||
## Functions
|
||||
|
||||
|
@ -332,6 +332,8 @@ class ModchartState
|
||||
setVar("scrollspeed", FlxG.save.data.scrollSpeed != 1 ? FlxG.save.data.scrollSpeed : PlayState.SONG.speed);
|
||||
setVar("fpsCap", FlxG.save.data.fpsCap);
|
||||
setVar("downscroll", FlxG.save.data.downscroll);
|
||||
setVar("flashing", FlxG.save.data.flashing);
|
||||
setVar("distractions", FlxG.save.data.distractions);
|
||||
|
||||
setVar("curStep", 0);
|
||||
setVar("curBeat", 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user