New issue I have this within my Bots:
Action* CurrentAction;
And I try and assign it within my AIController like so:
Bot->CurrentAction = new MoveAction();
Here is MoveAction
#pragma once
#include "Action.h"
class MoveAction : public Action
{
public:
MoveAction()
{
CurrentActionType = ActionEnums::Movement;
}
};
It’s giving me this as an error:
error C2440: ‘=’ : cannot convert from ‘MoveAction *’ to ‘Action *’
Any Ideas?