• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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