Error with AI casting in 4.9.0
Greetings all, I’m attempting to program AI using a combination of blueprints, behavior trees and blackboards.
the youtube tutorial I’m mimicking is here (sadly, I think it is 4.5.): https://www.youtube.com/watch?v=LvDDLMhxYns
The issue is when I try to cast to a controller in one of the tasks, the cast always fails. I want the AI not to only face the player character but who ever hurts him. I’ve tried several work arounds but each one does’t obtain the desired effect. If I could get the AI to do as in the video, I’d be happy.
Here's an image of my blueprint.
Other than this issue, 4.9 has been the best. thanks.
Do you have a screenshot of the blueprint where you are actually setting the instigator? Take in mind that one thing is the Damage instigator and other is the Instigator of an actor (by the look of your screenshot it looks like you are getting the instigator of the bot itself, thats why im asking).
You should set the instigator in your blackboard data asset everytime a player or another actor hurts the bot.
answered Sep 08 '15 at 04:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here