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.
20 results for cleanup
Fires when the actor is destroyed or the level ends. Use for cleanup.
K2_ClearAndInvalidateTimerHandle.
Clear and Invalidate Timer by HandleUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoDestroyActorUE 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoArray_ClearUE 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoClearUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoFlushPersistentDebugLinesUE 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoPattern: Pickup actor with SphereCollision(overlap), StaticMesh visual. OnComponentBeginOverlap → CastTo PlayerCharacter → Success: call AddScore/AddItem interface on player → PlaySoundAtLocation → SpawnEmitterAtLocation → DestroyActor(self). Set collision to OverlapOnlyPawn for performance.
UGameplayStatics::BreakHitResult. Most important outputs: bBlockingHit, ImpactPoint, ImpactNormal, HitActor, HitComponent.
Break Hit ResultUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo agoDealing damage: Event → ApplyDamage(TargetActor, BaseDamage, InstigatorController, DamageCauser, DamageTypeClass). Receiving: EventAnyDamage → Damage output → Subtract_FloatFloat(CurrentHealth, Damage) → FClamp(Result, 0, MaxHealth) → SET CurrentHealth → Branch(CurrentHealth <= 0) → True: DestroyActor. Initialize CurrentHealth=MaxHealth in BeginPlay.
QuitGameUE 5.3, 5.4, 5.5, 5.6, 5.7updated 3mo ago