• 🏆 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!

How to make a trigger that disables saving/loading?

Status
Not open for further replies.
Level 14
Joined
Nov 18, 2007
Messages
1,084
If you can use vJass, just add this library to your map.

If not, this is how it works in GUI form: (You should sitll give credits to TriggerHappy.)
  • PreventSaveSetup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: set udg_Player = GetLocalPlayer()
  • PreventSave
    • Events
      • Game - The game is about to be saved
    • Conditions
    • Actions
      • Dialog - Show Dialog for Player
      • Countdown Timer - Start Timer as a One-shot timer that will expire in 0.00 seconds
  • PreventSaveTimerExpires
    • Events
      • Time - Timer expires
    • Conditions
    • Actions
      • Dialog - Hide Dialog for Player
You'll need to make 3 variables: Dialog (dialog), Timer (timer), and Player (player).
 
Status
Not open for further replies.
Top