Quick Time Events (QTEs/RTEs) in UnityScript???

Hello,

Does anyone know how to go about scripting a QTE (aka RTE or Precision Time Event)? I’m guessing you do something like.

1.) Adding a time (or time.timeSinceLevelLoad) piece of script on an if statement,
2.) Adding an if statement condition for input of the desired button,
3.) and linking the if statement condition to a positive and negative outcome, like say points.

The problem is, there are very few examples of QTEs being used due to their unpopular nature. I understand why, but I need to understand the principals behind them, because my game relies on the execution of precise time elements. I’m planning on using blender to create an animated scroll graphic that has most of the game input instructions for the player.

Thanks!

Bumpy Bump Bump

QTE, aka RTE, aka PTE?

Why don’t you explain what you want to achieve instead, maybe with examples and some code?

Yea I was gonna say that in order to access Quicktime, you’ll probly need to write a native plugin.

Off the cuff I would say you have a class called Qte that is instantiated at some point before your cinematic starts up. The constructor has parameters that define which input key needs to be pressed. It has functions called Start and End which are called by whatever is running the cinematic. If the input is pressed between the Start and End calls, then the Qte instance will fire off some event or callback to indicate success.

noone plays games anymore today. :facepalm: