• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Disable saving and develop checkpoint system.

Status
Not open for further replies.
Level 14
Joined
Nov 13, 2017
Messages
733
I am planning how can we disable players from saving anytime and only triggered events can automatically save the game like checkpoint system.

Example like, picking up a save disk, scrolls, or upon designated triggering event or condition.
 

Wrda

Spell Reviewer
Level 25
Joined
Nov 18, 2012
Messages
1,873
  • Prevent Save
    • Events
      • Game - The game is about to be saved
    • Conditions
    • Actions
      • Custom script: call DialogDisplay(udg_EmptyDialog, true)
      • Countdown Timer - Start SaveTimer as a One-shot timer that will expire in 0.00 seconds
  • Prevent Save Expire
    • Events
      • Time - SaveTimer expires
    • Conditions
    • Actions
      • Custom script: call DialogDisplay(udg_EmptyDialog, false)
Prevents saving, doesn't disable. EmptyDialog is a dialog (obviously) and and SaveTimer a timer.
 
Level 14
Joined
Nov 13, 2017
Messages
733
  • Prevent Save
    • Events
      • Game - The game is about to be saved
    • Conditions
    • Actions
      • Custom script: call DialogDisplay(udg_EmptyDialog, true)
      • Countdown Timer - Start SaveTimer as a One-shot timer that will expire in 0.00 seconds
  • Prevent Save Expire
    • Events
      • Time - SaveTimer expires
    • Conditions
    • Actions
      • Custom script: call DialogDisplay(udg_EmptyDialog, false)
Prevents saving, doesn't disable. EmptyDialog is a dialog (obviously) and and SaveTimer a timer.
Thanks :)
 
Status
Not open for further replies.
Top