Despawn/Spawn actor from a datatable

Some notes that seem applicable:

  • consider incorporating the Delay data into the DataTable - each row can then dictate how much time needs to pass before we move to the next row. You will probably need some precise timing to drive this, right?
  • rather than Spawning & Destroying actors all the time, do it only once - on Begin Play:

So later on you can:

It’s very cheap to move / show / hide an actor, and expensive / cumbersome to spawn or destroy it.

  • similarly to the above, you can cache the names only once:

image

So you can…

…elsewhere in the script.

Good luck!

1 Like