Overlay Image / Screen?

joshmiller602joshmiller602 Member Posts: 206
edited November -1 in Working with GS (Mac)
Is it possible to create an image, that when spawned, would block the user from interacting with other actors behind it?

(My game has an "enemy" that temporarily blocks your ability to play by placing a translucent image covering the screen for a few seconds. Everything behind the image would still be "in play" though.)

Thanks!

- Josh

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    you could create a gameAttribute boolean called busy

    on spawnerActor... timer spawn and changeAttribute busy to true

    prototype on actor you will spawn ... timer (or rule) changeAttribute busy to false

    on other actors behind spawnedActor... events/actions under [Rules] when busy is false

    MH
Sign In or Register to comment.