GameSalad

Spawning when actors collide, and destroy original actors

DigiChainDigiChain Posts: 1,148Member, PRO
edited September 5 in Working with GS (Mac)

I have multiple instances of an actor (ACTOR 1) in the scene which the player can drag and drop where they like.
Each of these instances has a unique self.id (used to determine which actor is currently being dragged).

I would like to make it so that when ACTOR 1 is dragged and dropped onto another instance of itself, both instances of ACTOR 1 are destroyed and only one new actor (ACTOR 2) is spawned in their place.

I'm struggling to come up with a way of doing this. I hope someone can help! Thanks.

Comments

Sign In or Register to comment.