On Stop Play? ...
I somehow need a trigger in my C++ code which fires when (in editor or standalone) the game stops (like "Begin Play" in blueprints, but when the game gets closed / in editor stopped). It doesn't matter in which class (AHUD, AActor or whatever) it gets called, I need it to call a static method on a different class.
I hope my question is clear and somebody can push me into the right direction!
Thanks for reading.
The opposite of BeginPlay() is BeginDestroy() or Destroyed()
But i'm not sure if it's called when game is closed, it's worth a try :) You can also find some player left events in APlayerController and in AGameMode
answered Apr 17 '14 at 10:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here