Casting from AI controller to Spawner

Hey @doctorpepperdan,

-----“When you spawn the actor, maybe plug in a self reference from the spawner into the owner input on the spawn node, from there you could try to get owner and access that move random function from there.”-----

I don’t really get the idea. Why would I get ref to itself ?
What is that move random function ?
Are you saying that I could use a function from the AI ctrl into the Spawner to drive my
character ?

Is that what you are talking about ?

-----“Or better yet set a variable on the rabbit for a reference to an object of the spawner class, that way it has direct access to the spawner that spawned it”-----

Is this what you suggested ?
like so, the return values I get from the ActorLocation and the TerritoryRadius are 0.
Is it because I’m trying to get values from an object ref and not a spawned actor ?


If I can get a direct access to an actor with an object ref, what is the point of Casting ? What is the difference ?

I probably sound very confused ! Well I am :grimacing: