"Left 2 Die" by blizzard makes this happen. I looked at the triggers and the "ESC Workaround" triggers do not seem to be what stops it since u cant open up the menu the entire game while those only function during the cinematic.
Im not sure if they used triggers to make it work.
The Esc key will take over the actions of the F10 key whenever the map is in some kind of "fullscreen mode" or if the "Menu Panel" is turned off using a trigger. You cannot override this, but you can do a clever workaround.
If you don't want certain elements to appear in the UI, e.g. the Menu Panel, but you still want the F10 key to be the key bringing up the menu, then you have to do this via custom SC2Layout files. For the menu panel, which is something like 30 pixels in height, you can simply set the Y-offset to "-40", moving the panel outside the top of the screen effectively hiding it.
now i need to find a way to where it doesn't pause the cinematic. I have a music sound timed perfectly to cut out when the music cuts out, however, when a player opens the menu, the cinematic will pause BUT the sound files will not. This leads to the screen fade out to not correspond to the music fade out :(.
Is there a way to pause music for player while hes in menu mode, then continue the music at that cutoff point when closing the menu?
Also since its multi player, if one players opens the menu during the cinematic, the cinematic would in turn be in separate duration points for the pausing player, and for the other players who didnt pause. Will the game be OK with that fact?
Hopefully i explained it well :X ! The menu hide works great! now if i can get this to work as well, ill be in good shape.
"Left 2 Die" by blizzard makes this happen. I looked at the triggers and the "ESC Workaround" triggers do not seem to be what stops it since u cant open up the menu the entire game while those only function during the cinematic.
Im not sure if they used triggers to make it work.
@XratedSippycup: Go
The Esc key will take over the actions of the F10 key whenever the map is in some kind of "fullscreen mode" or if the "Menu Panel" is turned off using a trigger. You cannot override this, but you can do a clever workaround.
If you don't want certain elements to appear in the UI, e.g. the Menu Panel, but you still want the F10 key to be the key bringing up the menu, then you have to do this via custom SC2Layout files. For the menu panel, which is something like 30 pixels in height, you can simply set the Y-offset to "-40", moving the panel outside the top of the screen effectively hiding it.
Example:
@Kafoso: Go
TY :)
issue solved in that respect!
now i need to find a way to where it doesn't pause the cinematic. I have a music sound timed perfectly to cut out when the music cuts out, however, when a player opens the menu, the cinematic will pause BUT the sound files will not. This leads to the screen fade out to not correspond to the music fade out :(.
Is there a way to pause music for player while hes in menu mode, then continue the music at that cutoff point when closing the menu?
Also since its multi player, if one players opens the menu during the cinematic, the cinematic would in turn be in separate duration points for the pausing player, and for the other players who didnt pause. Will the game be OK with that fact?
Hopefully i explained it well :X ! The menu hide works great! now if i can get this to work as well, ill be in good shape.
@XratedSippycup: Go
I haven't done a lot of work with sounds, but I suppose you can just do something like:
And then make a trigger listening for Esc press. When that event fires, do:
And unpause the sound, when Esc is pressed again.
@Kafoso: Go
its what ill have to try. it seems the only alternative to hoping they dont press esc :P