Wait until?

DeathWish

  • Posts: 31
I want to make it so if _____=0, it waits until an actor is still, and then changes scene. However, I don't know how to make a "Wait until" type of block. I just need to know this, because if not, I'm stuck with having a chance the scene ends early/late.

Dom818

  • *
  • Posts: 1296
Can't you just do, IF x-speed of self = 0 and y-speed of self = 0 THEN switch the scene? Once both of these equal 0, the actor is technically still.

rob1221

  • *
  • Posts: 9424
if ____ = 0 AND if actor is still, change scene

I think for the actor being still you can check to see if the X and Y speeds are both zero.

EDIT: ^^ What he said  8)