Skip to content

BPC_BL_ModCopies

BurrowLib 0.2.0, in the palette under BurrowLib › Mod copies.

Your mod’s id. Pick one once and never change it, even if you rename the mod.

Raise it with every release. The newest build always runs, and of two copies of the same build, exactly one does.

Whether this copy is the one that runs. False until its first tick has decided.

Called once, on the one copy of your mod that runs, before its first tick. Every other copy is destroyed instead.

Give your mod’s actor a BPC_BL_ModCopies component with your mod’s id, and start the mod from the component’s On Run event rather than from BeginPlay. However many copies of the mod a player has installed, On Run fires on one of them.

An Actor Blueprint, BP_RunOnce, with:

  • a BPC_BL_ModCopies component named Copies, with Id set to example.run-once

Event Graph