Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
25 results for delay
Exec output is 'Completed' (NOT 'then'). Does not block — execution continues after Delay node fires.
DelayUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUKismetSystemLibrary::Delay. Latent node — only works in Event Graph, not functions. Output exec displays as Completed.
DelayUE 5.4, 5.7updated 2mo agoSchedules a function to run after a delay or on a repeating interval. Cleaner than Delay for repeating work.
Pauses execution for N seconds, then continues. Implemented as a latent action — execution suspends, not blocks.
In Character BP: OnDied (custom event) → SetActorHiddenInGame(true) → SetActorEnableCollision(false) → Disable input: GetController → DisableInput → Delay(Duration=3.0) → GetGameMode → CastTo<BP_GameMode> → RestartPlayer(GetController) → SetActorHiddenInGame(false) → SetActorEnableCollision(true) → EnableInput. In GameMode RestartPlayer: Gets nearest PlayerStart → SetActorLocation to PlayerStart → calls OnPossess. OR manual: GetAllActorsOfClass(PlayerStart) → Random select → SetActorLocationAndRotation(PlayerStart.Location, PlayerStart.Rotation).
UKismetSystemLibrary::RetriggerableDelay. Latent.
Retriggerable DelayUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA node that doesn't return immediately — Delay, MoveTo, etc. Execution suspends until the action completes.
Pattern: Variables StartLocation(Vector), EndLocation(Vector). BeginPlay: SET StartLocation=GetActorLocation. Timeline MoveTimeline(Alpha 0→1 over Duration). Trigger overlap/button press → Play Timeline. Timeline Update: VLerp(StartLocation, EndLocation, Alpha) → SetActorLocation(Self, Result, bSweep=true). Finished: Delay → Reverse Timeline.
Pattern: BeginPlay → K2_SetTimer(Self, 'MyFunction', 2.0, true) → store TimerHandle. Stop: ClearAndInvalidateTimerByHandle(TimerHandle). Prefer SetTimerByEvent over FunctionName for type safety. Delay node is simpler for one-shot but only works in Event Graph.
Pattern: Variables bCanDash(bool)=true, DashDistance(float)=1000, DashDuration(float)=0.2. Input → Branch(bCanDash) → SET bCanDash=false → GetActorForwardVector → Multiply(Forward, DashDistance) → Timeline(0→1 over DashDuration) → Update: VLerp(StartLoc, StartLoc+DashOffset, Alpha) → SetActorLocation. Finished → Delay(CooldownTime) → SET bCanDash=true.