Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Adding warning dialog when overwriting a save game  (Read 5447 times)

0 Members and 1 Guest are viewing this topic.

bzr077

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Adding warning dialog when overwriting a save game
« on: July 29, 2008, 10:46:55 PM »

Many game portals suggest, if not require, a warning dialog box before any destructive action (in this case saving over a previous save game) is carried out. As I understand it the Wintermute engine does not yet possess this feature.

Thanks in advance
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Adding warning dialog when overwriting a save game
« Reply #1 on: July 29, 2008, 11:02:52 PM »

You can use the Game.IsSaveSlotUsed(Slot) method to check if a slot already has a savegame.
Logged
fl*p

Mikael

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 127
    • View Profile
    • MDNA Games
Re: Adding warning dialog when overwriting a save game
« Reply #2 on: July 30, 2008, 09:52:37 PM »

I'm an idiot, but how exactly do I incorporate that?

Thanks,

Mikael
Logged
 

Page created in 0.035 seconds with 19 queries.