Blueprintable Types

Spawn Entry

Extend USpawnEntryBase in Blueprints for you own entry types. This is useful when you create your own sampler node that constructs an entry to return, or create a custom decorator node that wraps the result.

Nodes

Sampler

Extend USpawnQuerySampler_BlueprintBase for custom sampler nodes. The following functions can be overriden in Blueprints:

  • ReceiveQuery

    Return an entry with your own randomization, or construct a different one for each call.

  • ReceiveCheckIsActive

    If overriden, dictates the active state of the node. Otherwise, the node is active when ReceiveQuery is implemented.

Decorator

Extend USpawnQueryDecorator_BlueprintBase for custom decorator nodes. The following functions can be overriden in Blueprints:

  • ReceiveCheckIsActive

    If overriden, render the branch inactive when it returns false.

  • ReceiveRewrite

    Change the entry yielded under this branch.

  • ReceiveMutateWeight

    If overriden, change the weight of this branch.

Actors

ASpawnScatterActor spawns actors after the level loads. The functions below can be overriden:

  • GetContext

    By default, it returns the default context. Override it to use your own context.

You can also add USpawnScatterComponent to your actors and call SpawnActors function to spawn on in-game events.