playMaker

Author Topic: Clones not destroying.  (Read 32258 times)

Daffodil

  • Playmaker Newbie
  • *
  • Posts: 5
Clones not destroying.
« on: March 12, 2025, 07:54:30 AM »
Hi all, I have been trying to figure out an issue im having with Clones not properly removing themselves.

I have a spawner moving between two points, this will create the gameobject, this in turn will move towards the player settlements, so far so good.

Once the player clicks on these, it uses a mouseclick event to register the click and causes the Destroy Object (which is set to the object varible).

However, once it starts spawning in more than say two at a time, clicking on one will cause the others to stop moving and the clones arent being removed from the game.

Im having a bit of a headache trying to figure where ive gone wrong here.

finishsegment

  • Playmaker Newbie
  • *
  • Posts: 1
    • geometry dash
Re: Clones not destroying.
« Reply #1 on: April 28, 2025, 01:00:59 AM »
Make sure each clone uses its own local FSM and variables, and send destroy events directly to the clicked object instead of broadcasting globally.