Have an AI hear an instantiated sound

imaethan

New member
Hey, I'm struggling to have my AI hear an instantiated sound prefab. I've set the target objects to the prefabs but the AI doesn't react to them.

Any help would be much appreciated.
 
So your agent is listening to a prefab? You'll want to instead have the agent listening to the instantiated object. You can do this using the SharedVariable system:

 
Top