For starters I have made the child class i was just wondering how i could get a reference to it so i can call the nodes in blueprint like the original game user settings.
return Cast(GEngine->GameUserSettings);
Will work
Thanks for the reply but the code doesn’t seem to work as when tested in a staged build it seems to say this
[413]LogScript:Warning: Accessed None trying to read property CallFunc_GetUModUserSettings_ReturnValue2
And it PIE it gets this
PIE:Error: Error Blueprint Runtime Error: Accessed None trying to read property CallFunc_GetUModUserSettings_ReturnValue from function: ‘ExecuteUbergraph_W_Options2’ from node: Set Value in graph: EventGraph in object: W_Options2 with description: Accessed None trying to read property CallFunc_GetUModUserSettings_ReturnValue
I think I fixed it by going into defaultengine.ini and putting GameUserSettingsClassName=/Script/Yourgame.Yourcpp