Destroy actor after more then 1 collision.

SledheadSledhead Member Posts: 34
edited November -1 in Working with GS (Mac)
I am making a game were I want a projectile to be destroyed the second time it hits a wall. I have tried a few things but nothing has worked, if anyone could help it would be appreciated.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make a self attribute in the projectile called destroy. When the projectile hits the wall change attribute destroy to destroy+1.

    then have another rule when attribute destroy=2 destroy actor
  • SledheadSledhead Member Posts: 34
    Thanks johnPapiomitis worked great
Sign In or Register to comment.