✅ Solved: Delete Dynamically Spawned Formations Via Blueprint?

Discussion in 'PC Editor Discussion' started by DrewK, May 20, 2025.

Tags:
  1. DrewK

    DrewK Member

    Joined:
    Feb 29, 2024
    Messages:
    34
    Likes Received:
    70
    Hi everyone,

    I'm currently working on a project where I'm dynamically spawning train formations using the "Spawn Formation" node in Blueprints. The spawning part works great, but now I'm running into an issue: I need to delete or despawn these trains at runtime.

    I tried using "Destroy Actor", and while that does remove the train momentarily, it immediately respawns again - almost like something is forcing it to stay active.

    Has anyone an idea what i can try? What's the correct way to completely remove or stop a spawned train from respawning? Any tips or insights would be much appreciated!

    Thanks in advance!
     
  2. DrewK

    DrewK Member

    Joined:
    Feb 29, 2024
    Messages:
    34
    Likes Received:
    70
    Update:
    I’ve now managed to delete both entire formations and individual parts of them successfully! (See attached screenshot)
    Thanks to everyone who took the time to read. Problem solved! :)

    upload_2025-5-21_11-52-43.png
     
    • Like Like x 1
    • Helpful Helpful x 1

Share This Page