Thanks! It’s much appreciated! Also here’s the update!
You want to make a new blank C++ file, name it TurretInterface, and put these in respectively.
TurretInterface.cpp
#include "TurretTutorial.h"
#include "TurretInterface.h"
UTurretInterface::UTurretInterface(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
// This is required for compiling, would also let you know if somehow you called
// the base event/function rather the override version
void ITurretInterface::PrimaryFireControl()
{
}
TurretInterface.h
#pragma once
#include "TurretInterface.generated.h"
UINTERFACE(MinimalAPI)
class UTurretInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class ITurretInterface
{
GENERATED_IINTERFACE_BODY()
public:
virtual void PrimaryFireControl() = 0;
};
This should take care of your compile issues!
Hi, ! Glad to see your reply. Just as wrote, no hurries, take your time, we have learned a lot to understand the whole thing much better now, and you are doing the community a great service so you should be proud of your achievements. And for that, I salute you!