Skip to content

Quick start

  1. Add the plugin to your library on Fab and install it to your engine: Epic Games Launcher → Library → Fab Library → Install to Engine.

  2. Open your project. Go to Edit → Plugins, open the Sumo Plugins category and enable Item Spawn Randomizer.

  3. Restart the editor when prompted.

Blueprint-only projects need no build step. Installed to the engine, the plugin ships with binaries.

If your own C++ references the plugin’s classes, add the runtime module to your Build.cs. GameplayTags is needed as soon as you work with point tags:

PublicDependencyModuleNames.AddRange(new string[] { "ItemSpawnRandomizer", "GameplayTags" });

Never depend on ItemSpawnRandomizerEditor from a runtime module. It is editor-only.

  1. Place points. From the Place Actors panel (or Content Browser → All Classes) drag a few Item Spawn Point actors into the level where the item could plausibly be. Rotate them: the point’s X axis (the green arrow) becomes the item’s forward.

  2. Add the component. Select the item actor, click Add in the Components panel and choose Item Spawn Randomizer (under the ItemSpawn group).

  3. Reference the points. Fill the component’s Spawn Points array with the points you placed, using the eyedropper or the drop-down.

  4. Check the ghosts. A ghost copy of the item appears on every point. Move, rotate and scale the points until every ghost sits right.

  5. Save and play. The item starts on one of the points, a different one each session.

The item’s authored position in the level is its home. With Include Home Location on (the default), home competes as one more candidate, so the item can also stay put. Turn it off to force a move.

The initial assignment happens before BeginPlay, so read the result there instead of binding On Relocated:

Event BeginPlay → Item Spawn Randomizer → Has Assigned Point Tag (Tag = Spawn.Drawer) → Branch → Set Simulate Physics (true).

The plugin ships a playable demo under Content/ItemSpawnRandomizer/. Open Maps/L_ItemSpawnRandomizerDemo and press Play. Use the reload-map input to restart the level and see a new layout, or type ItemSpawn.Reroll in the console.

Asset What it shows
Maps/L_ItemSpawnRandomizerDemo A playable level with randomized items, spawn points and in-world reference boards (component details, subsystem functions).
Blueprints/Actors/B_ItemSpawnPointBase A Blueprint subclass of AItemSpawnPoint.
Blueprints/Actors/B_ItemSpawnRandomizerActorBase A base item actor with the randomizer component.
Blueprints/Actors/B_ItemSpawnRandomizerCube A simple randomized item.
Blueprints/B_ItemSpawnRandomizerCharacter, …PlayerController, …GameMode Minimal first-person setup with Enhanced Input (Input/IMC_ItemSpawnRandomizer, IA_*_Move, IA_*_Look, IA_*_Jump, IA_*_ReloadMap).

The demo content is optional. The C++ modules don’t depend on it.

  • How it works: assignment, baking, seeds and the editor ghosts.
  • Reference: every property, function, setting and console command.
  • Troubleshooting: “nothing moves” and other common issues.