blueprint

Pill Spawner

  • Exposure: public
  • UE Version: 4.26

TJ

January 24, 2023, 7:16 pm

every time the event Spwanbox will be called, we will generate a random Boolean and the value of this variable will determine if we produce a blue pill or a red pill.

we also have 2 functions, UI start and UI stop that will trigger the spawnbox event in loop or stop it, so we can start and stop the machine.

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v