Post #1 · Posted at 2018-09-28 01:14:48am 5.5 years ago
leadbman | |
---|---|
Member | |
263 Posts | |
Reg. 2016-02-01 | |
"Working On: 5thMix BGA bgchanges" |
Last updated: 2018-09-28 11:03am
Hi everyone,
Just wondering if there is a way to set the Fantastic Judgement using PREFSMAN?
I know there's AllowW1 which will allow me to set the judgement to: "Never", "CoursesOnly", "Everywhere".
I pretty much want to be able to say if song is from group then set AllowW1 to "Never" or "Everywhere" depending on the group. I just don't know the correct syntax to set this preference.
I'd get the group by saying:
if GAMESTATE:GetCurrentSong():GetGroupName():find("MIXNAME") then
Then from there I'd like to set the preference.
Any help would be greatly appreciated. Thanks in advance.
----------------------------------------------------------------------------------------------------
Nevermind I worked it out, if anyone is wondering, use this:
Don't use Fantastic/Marvellous Judgement:
Use Fantastic/Marvellous Judgement:
Hope that helps someone.
Just wondering if there is a way to set the Fantastic Judgement using PREFSMAN?
I know there's AllowW1 which will allow me to set the judgement to: "Never", "CoursesOnly", "Everywhere".
I pretty much want to be able to say if song is from group then set AllowW1 to "Never" or "Everywhere" depending on the group. I just don't know the correct syntax to set this preference.
I'd get the group by saying:
if GAMESTATE:GetCurrentSong():GetGroupName():find("MIXNAME") then
Then from there I'd like to set the preference.
Any help would be greatly appreciated. Thanks in advance.
----------------------------------------------------------------------------------------------------
Nevermind I worked it out, if anyone is wondering, use this:
Don't use Fantastic/Marvellous Judgement:
PREFSMAN:SetPreference("AllowW1","AllowW1_Never");
Use Fantastic/Marvellous Judgement:
PREFSMAN:SetPreference("AllowW1","AllowW1_Everywhere");
Hope that helps someone.