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 main
Pattern: WBP_MainMenu with WidgetSwitcher containing panels (Main, Options, Credits). Buttons: OnClicked → SetActiveWidgetIndex(WidgetSwitcher, PanelIndex). Play button: RemoveFromParent → OpenLevel(GameMap). Quit: QuitGame. Level BP BeginPlay: CreateWidget(MainMenu) → AddToViewport → SetInputModeUIOnly → SetShowMouseCursor(true).
Why: UE5's main message just says how many errors occurred, not what they are. The actual errors live in the Errors panel. Fix: Open the Blueprint editor. Click Window menu → Errors Panel. Expand each entry to see specific node locations. Use the Errors panel's hyperlinks to jump straight to the broken nodes. Fix from top to bottom — often one fix cascades to clear several others.
Call on the SkeletalMeshComponent. Get it via GetMesh() on Character. Returns montage length. Exec out is 'then'.
PlayMontageUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo 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.
A SceneComponent with simulate-physics enabled. Driven by forces, gravity, collisions instead of explicit transforms.
string
The base class your Blueprint inherits from (e.g. Actor, Pawn, UserWidget). Determines available functions and components.
Why: '{a}' includes '{b}' as a hard reference, AND '{b}' includes '{a}' as a hard reference. UE5 can't compile either one first without the other already being compiled. Fix: Break the cycle by making ONE side use a SOFT reference (TSoftObjectPtr). Pick the side that doesn't need {b} immediately at construction — change the variable type to 'Soft Object Reference' instead of 'Object Reference'. Use Load Asset to resolve it at runtime.
Defines a viewpoint into the world. The active PlayerController's view comes from one camera at a time.
Legacy Cascade system. Prefer Niagara (SpawnSystemAtLocation) for new projects.
SpawnEmitterAtLocationUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago