How to prevent actions when inventory is out ? (Resolved)

  • #1, by Vincent MetalloSaturday, 12. August 2017, 12:48 7 years ago
    Hey !

    Someone knows how can i prevent the player from moving when inventory is out ?

    Thanks !

    Newbie

    6 Posts


  • #2, by afrlmeSaturday, 12. August 2017, 12:59 7 years ago
    Yeah, draw the interface area so it covers the entire scene.

    Check this tutorial out. smile

    P.S: you only need to read the first bit really & the bit after the first set of images. Long story short. Interface image canvas size should be same size as your default game resolution. You then need to set the interface area so that it's the same size as your default game resolution or slightly larger. This should prevent any left or right clicks on the screen from triggering any new destination or action events.

    Imperator

    7278 Posts

  • #3, by Vincent MetalloSaturday, 12. August 2017, 13:25 7 years ago
    Great ! It works fine smile. Thank you very much !

    Newbie

    6 Posts