Post #1 · Posted at 2019-04-01 03:00:00pm 5.4 years ago
leadbman | |
---|---|
Member | |
263 帖子 | |
Reg. 2016-02-01 | |
"Working On: 5thMix BGA bgchanges" |
Hi all,
Just wondering if anyone knows how to check if there is a score for the current difficulty of a song on a per-player basis? As in check if P1 has a score for heavy and separately check if P2 has a score for say standard.
I'm assuming you'd just need to get the current difficulty for P1 and check if there's a score and do the same for P2.
Hope someone can point me in the right direction, I'm a little stumped with this.
Just wondering if anyone knows how to check if there is a score for the current difficulty of a song on a per-player basis? As in check if P1 has a score for heavy and separately check if P2 has a score for say standard.
I'm assuming you'd just need to get the current difficulty for P1 and check if there's a score and do the same for P2.
Hope someone can point me in the right direction, I'm a little stumped with this.
Post #2 · Posted at 2019-04-05 08:13:21pm 5.4 years ago
ZTS | |
---|---|
Member | |
141 帖子 | |
Not Set | |
Reg. 2015-01-13 | |
"But enough talk! Have at you!" |
Last updated: 2019-04-05 08:15pm
In my theme, check out PlayerScore.lua and MachineScore.lua.
It will update when you switch difficulty/song/steps.
https://github.com/RhythmLunatic/Delta-NEX-Rebirth/blob/master/BGAnimations/ScreenSelectMusic%20decorations/MachineScore.lua
https://github.com/RhythmLunatic/Delta-NEX-Rebirth/blob/master/BGAnimations/ScreenSelectMusic%20decorations/PlayerScore.lua
For your purposes, you only need "if topscore then".
It will update when you switch difficulty/song/steps.
https://github.com/RhythmLunatic/Delta-NEX-Rebirth/blob/master/BGAnimations/ScreenSelectMusic%20decorations/MachineScore.lua
https://github.com/RhythmLunatic/Delta-NEX-Rebirth/blob/master/BGAnimations/ScreenSelectMusic%20decorations/PlayerScore.lua
For your purposes, you only need "if topscore then".
Post #3 · Posted at 2019-04-06 06:20:09am 5.4 years ago
razorblade | |
---|---|
Member | |
1,106 帖子 | |
Not Set | |
Reg. 2011-03-01 | |