Thanks again! I have typed your changes.
TESTING
WELL. IGNORE BELLOW. IT COMPILED!
However I haven’t been able to compile since my last post. I can’t seem to add:
#include "OnlineSubsystemSteam.h"
Which has the class FOnlineSubsystemSteam. I get the error " Cannot open include file: ‘OnlineSubsystemSteam.h’ ".
I have tried to look at this thread
But I am being unlucky. The OnlineSubsystemSteam.h path is UE4/Plugins/Online/OnlineSubsystemSteam/Source/Public/onlineSubsystemSteam.h
Would you mind helping with that?
This is what my build.cs file looks like. It’s a Frankenstein and I barely have a clue of what I am doing.
public class MusicalRange : ModuleRules
{
public MusicalRange(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core",
"CoreUObject",
"Engine",
"InputCore",
"OnlineSubsystem", //From https://wiki.unrealengine.com/Steam_workshop
"OnlineSubsystemUtils",
"Steamworks", //*/
"OnlineSubsystemSteam"
});
PrivateDependencyModuleNames.AddRange(new string[] { });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
//Uncomment if you are using online features
PrivateDependencyModuleNames.Add("OnlineSubsystem");
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
PublicIncludePaths.AddRange(new string[] {"Plugins/Online/OnlineSubsystemSteam/Public", "Plugins/Online/OnlineSubsystemSteam/Classes" });
}
}
Huge Thanks again!