LogicBlock

Running Block Lists

Run instruction and condition lists, choose a target, and set dynamic reference values.

Running Block Lists

Run Block logic from a Trigger, Condition, or Action with one of these instructions:

  • Run Instruction Block List runs an instruction list.
  • Run Conditions Block List evaluates a condition list.

Choose the Block and List

Assign the Block asset in the instruction's Block field. A dropdown then shows the available Instruction and Condition lists. Choose the list you want to run.

Set the Target

The default Target is Target, which follows normal Game Creator 2 behaviour. You can choose a specific GameObject, Self, or another reference when the list needs a different target.

Use Instancing

Enable Instance Block when the same list can run from several sources at the same time. This is required in ScriptableObjects and cannot be disabled there.

For example, use instancing when several GameObjects run the same logic, or when multiple enemies and triggers run a list at the same time. Without it, shared lists can interfere with one another.

Set Dynamic References

When the selected list has References, each reference appears as a field in the run instruction. Assign values before you run the list. For example, a list that needs a GameObject and an Item shows fields for both values.

You can leave a reference empty when the list does not need it. Instructions that rely on an unassigned value follow their own behaviour, such as using a default value or doing nothing.