RealDocs

APawn::NotifyRestarted

function Engine Since 5.0
#include "GameFramework/Pawn.h"
Access: public Specifiers: virtual

Description

Broadcasts the pawn-restarted notification by firing `ReceiveRestarted` and `ReceiveRestartedDelegate`. Override to delay or gate notifications until prerequisite data is ready.

Caveats & Gotchas

  • Override this (not `Restart`) if your pawn needs to wait for replicated ability data or inventory before announcing readiness — call `Super::NotifyRestarted()` once that data arrives.
  • Missing `Super::NotifyRestarted()` will silently break all Blueprint and C++ restart listeners bound to this pawn.

Signature

virtual void NotifyRestarted()

Return Type

void

Example

Delay notification until ability data arrives C++
void AMyPawn::NotifyRestarted()
{
	if (AbilitySystemComponent && AbilitySystemComponent->IsReadyForReplication())
	{
		Super::NotifyRestarted();
	}
	// Otherwise called later via ASC callback
}

Version History

Introduced in: 5.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.