• 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 pause the game via triggers

Status
Not open for further replies.
Level 12
Joined
May 22, 2015
Messages
1,051
I am trying to debug something in my map. I found some code to capture the moment the bug happens, but it is buried in some damage events. I want to use debug messages to output all the information for when it occurred (to help debug), but the damage event fires A LOT. The bug also seems to happen once and then happen more often after that first occurrence, so I don't want to just turn off the damage system or end the game or whatever.

What I want is to pause the game such that I can read debug messages and then have some way to unpause.

I think I can maybe just turn the damage system off and then have a command to turn it back on, but I think pausing the game would make it easiest to see stuff.

If it's not possible, I will settle for something else (ideas are welcome). Thanks in advance!
 
Status
Not open for further replies.
Top