-
Notifications
You must be signed in to change notification settings - Fork 0
Lua Script API : Gameplay
Sets the colors of the health bar.
-
left- Opponent's health color, must be in Hex. -
right- Player's health color, must be in Hex.
Sets the colors of the time bar.
-
leftHex- Left side time bar color, must be in Hex. -
rightHex- Right side time bar color, must be in Hex.
Adds value to the song's current score and recalculates rating.
Adds value to the song's current misses and recalculates rating.
Adds value to the song's current note hits and and recalculates rating.
Returns the song's current score.
Returns the song's current misses.
Returns the song's current note hits.
Sets the song's current score to value and recalculates rating.
Sets the song's current misses to value and recalculates rating.
Sets the song's current note hits and recalculates rating.
Sets the rating percent to value.
Sets the rating name to value.
Sets the rating fc to value.
Adds value to the song's current health.
Returns the song's current health.
Sets the song's current health to value.
Returns a character's X position.
-
type- Character's type, can bedad,boyfriendorgf
Returns a character's Y position.
-
type- Character's type, can bedad,boyfriendorgf
Sets a character's X position.
-
type- Character's type, can bedad,boyfriendorgf -
value- The X position you want to settypeto.
Sets a character's Y position.
-
type- Character's type, can bedad,boyfriendorgf. -
value- The Y position you want to settypeto.
Plays a character's idle.
-
character- The character that you want to idle, can bedad,boyfriend, orgf.
Returns the current song position.
Starts the countdown, in case for example you returned Function_Stop on onStartCountdown.
Ends the song, in case for example you returned Function_Stop on onEndSong.
Restarts the song.
-
skipTransition- If true, skips the fade when restarting/exiting a song.
Exits the song.
-
skipTransition- If true, skips the fade when restarting/exiting a song.
Triggers an event.
To set it, first put this at the start of a event script, and you know what to do next.
-
event- Event name. -
v1- Value 1. -
v2- Value 2. -
v3- Value 3. (Optional)