When restarting the game the enemies do not move

when i restart the game, the enemies don’t chase me

here is the blueprints of my character, the sequence of his death

this is the blueprints of the enemies

and here the artificial intelligence of the enemies

It’s always going to be the same answer, no matter how many threads you create about it. You stopped the timer by clearing it. Call it again to restart it.

It can be as simple as this:

Find a logical place in your script and call the appropriate custom event.

  • call Stop Timer when the player dies / restarts
  • call Start Timer when the game starts and/or the ghost movement needs to restart

It’s not enough to place the above nodes in the script, you need to call them (the red box), too.

1 Like

I did this but it didn’t give me results

You’re not supposed to copy the nodes I posted. Apply this logic to the timer that moves your Ghosts.


  • top - the timer that moves your ghosts

  • bottom - you’re stopping it

Apply the logic to your own timer, don’t create an additional one.

This should not be here. You should stop the timer only when the player dies. That’s step one, fix that first.

ok, i’ll check it out. Thank you

Hello. still no results

so I put the blueprints of the death of my player

so leave the blueprints of the ghosts

and so place the AI ​​of the ghost

and disconnect the one you told me

But this also disconnected this:

Is this important?

Can you explain how this is supposed to work:

It seems to me that you Stop the Ghost timer and then immediately Start it again? :confused: Shouldn’t you wait, reset the ghost position first and then re-Start it?

without results

But you did not change anything… It’s exactly as it was.


Also, do not try to Destroy an actor and then do something else inside, it may not work correctly, or at all.

Isn’t it better to just use the save game? this system becomes very messy

If you think this is messy, you’re going to hate a save game. Go for it, though. It’s must have skill one way or another. You will want to save game at some point.

Yes, I really like the method I want to use better, an automatic save, without the need for a save menu, it’s like I want the game to advance on its own, but I’m stuck on the question. Can I save Unreal in an earlier version so you can watch it?

Afaik, converting from 5.0 → 4.x is not a thing. I may be wrong. I do not understand why don’t want to just delay the restart…

image

The above makes no sense, please read what I wrote above again. You stop and start them immediately, they do not even have a chance to reset their position.

Good luck!

Thanks, I see what I can do but until now I’ll be stuck :smile:

so far the only solution I found is “open level” but it resets the level from zero, without progress

hello. how are you? Just in case, do you use team viewer?