I need to cast to an AI Character. It’s parent class/object is “Character.” Now, it says it’s valid for the character to cast to the Ai Character, but I have no idea what to use for the object reference for the “Cast to Character” Node. The image below depicts exactly what I mean.
I have one AI of this exact character, but I have 10 different ai characters. I only need this one, though. I’m trying to cast to them so I can access and change relationship status values within the ai’s variables.
maybe! I did try that and it gave me an error. If I put the ‘get actor of class’ in the object reference, the casting doesn’t work, and if I remove the casting and just keep the ‘get actor of class,’ I get a runtime error
Oh… Oops. I don’t. I didn’t know that was required but that makes sense. I’m having problems adding the character to the blueprint, not sure why… I’ll figure that out, though
Thank you!