Need help with destroying a coin after a centain amount of time.

Hello everyone,

I need help with destroying a coin after a certain amount of time.

Right now I have it set up that when my enemies get destroyed they spawn a coin actor.
And after 5 seconds they change an actor attribute to true.

The problem is I don't know how to tell the coin that the enemy actor attribute is true

And if I try to use a game attribute it not going to work after the first one.

Has anyone had experience with this or have any ideas it would be greatly appreciated

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited November 2013
    Can you not simply place a Timer behaviour in the coin that destroys it after 5 seconds ?

    image
  • astreet1211astreet1211 Member Posts: 4
    wow I was way over thinking it!
    I am very new thanks for the help!
  • SocksSocks London, UK.Member Posts: 12,822
    edited November 2013
    wow I was way over thinking it!
    I am very new thanks for the help!
    Glad that works for you. :)>-

    (Yeah, sometimes it is easy to over-think these things !)
Sign In or Register to comment.