June 2016
Intermediate to advanced
384 pages
8h 20m
English
I want the main job of this class to set the values for the Blackboard asset, adjust the rotation of the enemy, and use the navigation mesh.
Just like all the other header files, we have to start with the includes. There is nothing fancy to include here, except the header file of the base class:
#include "AIController.h" #include "EnemyAIController.generated.h"
Also, define the class name, the inheritance, and the constructor. The three of them are made by default while creating the class, and probably, you don't have to change any of them:
UCLASS()
class BELLZ_APIAEnemyAIController : publicAAIController
{
GENERATED_BODY()
public:
AEnemyAIController();As we discussed earlier, the Blackboard asset is like a data ...
Read now
Unlock full access