imaethan New member Jul 6, 2020 #1 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.
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.
Justin Administrator Staff member Jul 6, 2020 #2 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: Variables - Opsive One of the advantages of behavior trees are that they are very flexible in that all of the tasks are loosely coupled – meaning one . . . opsive.com
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: Variables - Opsive One of the advantages of behavior trees are that they are very flexible in that all of the tasks are loosely coupled – meaning one . . . opsive.com