• 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.

KeyEvent during Cinematic

Status
Not open for further replies.
Level 1
Joined
Apr 17, 2019
Messages
4
Hello everyone. You probably already figured out my question :D Is it possible to register a key event during cinematic? A pretty simple question, yet help would be much appreciated :)
 
Level 9
Joined
Jul 30, 2018
Messages
445
Well, as far as I know, the only key events that are registered are Esc (Player - Cinematic Skipped event) and arrow keys (Player - Keyboard Event). You could have a trigger for these events and then turn a boolean variable on, when they are pressed. Then you can check in another trigger if the variable is true or false.

Alternatively you could have a unit with a custom ability with a certain hotkey, but that will require the unit to be selected by the player.
 
Level 1
Joined
Apr 17, 2019
Messages
4
Thanks for the replies guys, as far as im aware the PTR editor could mess up the map, or at least the map made with PTR would be unplayable outside PTR. I will try the method mentioned by Sabe, if that doesn't work i guess i'll focus on terraining for a little while, until the patch is officially launched.
Cheers.
 
Status
Not open for further replies.
Top