Nymra Posted November 2, 2021 Posted November 2, 2021 I really have no idea why this is not compiling... this is my first attempt on making a "save/load" profile option for Naked Defeat. I used the method from Customizeable Camera since it got me the least headaches, haha. But now... does not compile (see the error message). I read the StorageUtil source file and description but I cannot make sense of it. Whelp attached is error message and the source script nade_configquest_scr.psc
AndrewLRG Posted November 2, 2021 Posted November 2, 2021 SetINTValue("../Naked Defeat/profile" +Profile+ ".json", "NymStripping", NymStripping) 3rd property in StorageUtil.SetIntValue() should be Int, while property NymStripping appears to be Bool.
Hex Bolt Posted November 2, 2021 Posted November 2, 2021 AndrewLRG beat me to it. ? In case it's not clear, just add "as int" after the bool values.
Nymra Posted November 2, 2021 Author Posted November 2, 2021 4 minutes ago, AndrewLRG said: SetINTValue("../Naked Defeat/profile" +Profile+ ".json", "NymStripping", NymStripping) 3rd property in StorageUtil.SetIntValue() should be Int, while property NymStripping appears to be Bool. 2 minutes ago, HexBolt8 said: AndrewLRG beat me to it. ? In case it's not clear, just add "as int" after the bool values. ah, guessed something like that (like hey, is a bool and int actually?!), but would never come to that conclusion, thx alot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.