• 🏆 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!

[Trigger] Hiding interface & keeping user controll

Status
Not open for further replies.
Level 18
Joined
Aug 23, 2008
Messages
2,319
I want to hide the User Interface temporarily just like using letterbox mode. However, I my triggers require the player to press the down arrow key in order to continue. In letterbox mode, all keyboard actions are negated, so nothing happens when I press the down arrow key.

So my question is: Can I get the same results as letterbox mode somehow while keeping keyboard events enabled. No JASS functions please.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
I don't know, but there is an advanced filter that almost looks like Letterbox (I think it's the texture "dream", but I'm not sure).
I don't know if that enables keyboard events, though... but it might be worth trying :s

It's a cheap solution (and a pretty crappy one), but maybe you like it :/
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Ahh, I see.

The solution is simple:

  • Letterbox with Control
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 0.00 seconds
      • Cinematic - Enable user control for (All players)
The bad side: the mouse is visible, but not active.
The Good Side: All keyboard events work (even the F-keys)
 
Status
Not open for further replies.
Top