• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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