How do you use AIcontroller MoveToActor in a character?
Trying to make an AI Character move to my player character with the MoveToActor function. Don't know how to give the function to the AI character. Spent a few minutes trying stuff and got this. Player character is DCharacter, Ai character is DEnemy and DEnemy has AIController.h included
this gives me the error: Error C4700 uninitialized local variable 'player'(and 'controller') used but the code doesn't have any red marks. was I close or am I completely wrong?
asked Apr 24 '18 at 08:29 AM in C++ Programming
From the context you're giving, i can notice two things:
answered Apr 24 '18 at 09:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here