Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: I-Skorp-I on February 05, 2017, 12:50:21 PM

Title: How Can I Pause My Mugen Game Play?
Post by: I-Skorp-I on February 05, 2017, 12:50:21 PM
My laptop doesn't have a "Pause" button like most other laptops do so i was wondering if there was another way to pause it? Or can i go threw my Mugen.cfg or system.def or something to figure out a way to pause it?
Title: Re: How Can I Pause My Mugen Game Play?
Post by: ELECTRO on February 05, 2017, 01:25:35 PM
Unless you want to plug a keyboard into your usb port, you can code a state to put your character into that can pause the game. For example you can code that when you hit the start button it will send your character to a custom state & inside the state you can add stuff like this.

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = time >=0
flag = timerfreeze

[State 0, Pause]
type = Pause
trigger1 = time >=0
time = 1
ignorehitpause = 1
persistent = 1

to get out of the state use this

[State 0, ChangeState]
type = ChangeState
trigger1 = command = "s"
value = 0
ctrl = 1
;anim =
;ignorehitpause =
;persistent =
Title: Re: How Can I Pause My Mugen Game Play?
Post by: NX-MEN on February 06, 2017, 05:14:34 PM
Wish there was a general code for Mugen and not per each individual char!!

I have 814 chars in my Mugen and I will have to spent a millennium to add that code in each char of my roster lol
Title: Re: How Can I Pause My Mugen Game Play?
Post by: I-Skorp-I on February 06, 2017, 05:46:53 PM
Yea screw that. Haha anyone else have a way to do it?
Title: Re: How Can I Pause My Mugen Game Play?
Post by: Cyanide on February 06, 2017, 07:10:09 PM
Well, if you're using 1.1 there is this setting in the mugen.cfg file

  ;Set to 1 to pause the game when the window is in the background.
PauseOnDefocus = 1

Which would let you minimise the game or click outside the window and it would pause. IIRC everything 1.0 related will be OK in 1.1. You only run into issues with winmugen stuff so this might be an easy solution for you. Transferring screenpack/characters is easy enough.
Title: Re: How Can I Pause My Mugen Game Play?
Post by: I-Skorp-I on February 07, 2017, 04:41:48 PM
Well, if you're using 1.1 there is this setting in the mugen.cfg file

  ;Set to 1 to pause the game when the window is in the background.
PauseOnDefocus = 1

Which would let you minimise the game or click outside the window and it would pause. IIRC everything 1.0 related will be OK in 1.1. You only run into issues with winmugen stuff so this might be an easy solution for you. Transferring screenpack/characters is easy enough.

There's Cyanide! How you been buddy i missed ya!  8) And for some reason my mugen is missing that code in it. :/
Title: Re: How Can I Pause My Mugen Game Play?
Post by: I-Skorp-I on February 07, 2017, 05:12:43 PM
NVM EVERYONE PROBLEM IS SOLVED! i had to redownload mugen 1.1 in order to get that code. Thanks to everyone who tried to help out! I seriously appreciated it! 8) O0
SimplePortal 2.3.5 © 2008-2012, SimplePortal