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.
23 results for auto
SETUP: Create Blueprint inheriting UGameInstanceSubsystem (or UWorldSubsystem for level-scoped). Override Initialize(Collection) to set up. Override Deinitialize to clean up. Add game variables here (Score, PlayTime, Settings). ACCESS FROM ANYWHERE: GetGameInstance → GetSubsystem(BP_GameSubsystem) → CastTo<BP_GameSubsystem> → access variables. WHY: Subsystems auto-create, auto-destroy, and don't need FindActor. Better than GameInstance for well-organized systems. UGameInstanceSubsystem persists across levels. UWorldSubsystem is recreated each level.
0 = live forever.
Set Life SpanUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoWhy: You're feeding an Array<{elem}> into a function that expects Array<{other}>. UE5 doesn't auto-cast array element types element-by-element — you'd lose type safety. Fix: Either: (a) change one array's variable type to match (My Blueprint → variable → Details → Variable Type → set to Array of {other}), or (b) loop over the source array, cast each element individually, and Append to a new typed array. Use the ForEachLoop node for this.
Pattern: BP_Checkpoint with BoxTrigger, variable CheckpointID(int). OnBeginOverlap(Player) → DoOnce → CreateSaveGameObject(MySaveGame) → SET PlayerLocation, Health, Inventory, CheckpointID → SaveGameToSlot('AutoSave', 0). On death/respawn: LoadGameFromSlot('AutoSave') → Cast → TeleportTo(SavedLocation) → restore Health etc. Show 'Checkpoint Reached' UI briefly.
DoNUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo 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.
OR=BooleanOR, NOT=Not_PreBool, XOR=BooleanXOR
ANDUE 5.4, 5.7updated 2mo agoNOTUE 5.4, 5.7updated 2mo agoFires when a physics collision happens. Use for impact effects, damage on contact.