• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Lock keyboards during animation?

Status
Not open for further replies.
Level 9
Joined
Aug 11, 2007
Messages
429
When I play my units animation, players always hit ESC to make the text disappear, and we just end up waiting. Is their a way to disable the keyboard?
 
There's an event called "A player skips cinematic sequence" or something. When it runs, disable cinematic mode, restore control etc for all players.
 
Wow, their isn't just a turn off keyboard option, ok. And you say that makes skipping possible? Well I don't want skipping, unless it was a typo for impossible.
 
You could basically do what was mentioned before use time counters so you can reset the cinematic to the position it was when it was skipped (or relatively close).

I would go about having a variable ready for this named CinematicTime or something of the like, where when the cinematic trigger went into action it started the timer.

  • Cinematics:
    • Events:
      • A player skips a cinematic
    • Conditions:
      • (Timer) Less than or equal to 10 seconds
    • Actions:
      • Trigger - Turn off <Cinematic>
      • Trigger - Turn on <Cinematic Repeat 1>
You could use something similar to that, or If/Then/Else functions for each little time snippet of your cinematic.

It wouldn't be skippable and you still risk it with jerks who will constantly push ESC so you are there forever.
 
Status
Not open for further replies.
Back
Top