When actor does NOT Overlap or Collide, after 4 seconds, do XXX

VoidedSkyVoidedSky Member Posts: 1,095
edited November -1 in Working with GS (Mac)
I have been trying to do this, but it doesn't always work. Here are my rules:

---when overlap or collide with XXX, then change attribute game.collide to true
-----otherwise, change attribute game.collide to false

---when game.collide is false, every 1 second, change attribute, game.collisionCount to game.collisionCount+1
----otherwise, change game.collisionCount to 0

---when game.collisionCount is greater than or equal to, then do [something]

This works most of the time, but if the actors are in the collision area, and then move within the area, then it doesn't recognize that they are overlapping with the overlap actor. I hope I was clear enough. Any ideas?

Thanks

~CTM

Comments

  • ORBZORBZ Member Posts: 1,304
    Tshirt is correct
  • VoidedSkyVoidedSky Member Posts: 1,095
    Thanks for your replies, would ther be any way that I could do this?
  • VoidedSkyVoidedSky Member Posts: 1,095
    Here is what I am trying to do:

    image

    I use the Bombs to move the blocks out of the orange area. Then when there are no more blocks in the orange area for 4 seconds, then you go to the next level. How can I check to see if there are blocks in the orange area? I hope this explains what I would like to do better then above.

    Thanks in advance!
Sign In or Register to comment.