Upcoming Marketplace Asset: Diverse AI

Hi,

If I understood your query correctly, you would like to “reset” dead AI upon loading a streaming level.

Please answer the following questions:

  1. Which (if any) Diverse AI variables are you currently saving/loading?

  2. When are you saving AI variables (if relevant)?

  3. Are you destroying AI upon death?

If you would like to experiment before answering the questions, here is some information that may help you:

When AI are defined as dead, their enum_CurrentState will be set to “Dead”. If enum_CurrentState is Dead when attempting to revive the AI, then AI will not be able to transition to another AI State when BeginPlay is called, as dead AI should not be able to transition to other states or call other events. Without knowing too much about your particular case, I can at least advise you to test changing the value of enum_CurrentState (Idle is a good option) for your AI upon loading a streaming level; this should occur before Parent’s BeginPlay event is called. Upon execution of BeginPlay, your AI will transition to enum_InitialState.

I hope this helps for now.