I'll have to write a third QTE tut at some point, but know that the QTE action is fully compatible with parameters - the linked menu, duration and input key can also be set to different values each time it's run.
Just like function parameters in code, action parameters let you run common tasks with different variables / fields. If you have a lot of QTEs, you may want to place your QTE Action in an ActionList asset, give it some parameters, so that you can call it (and set the parameters each time) whenever you want with the Engine: Run ActionList Action. If you used this same Action to call your win/lose Cutscenes as well, you could parameterise them, too.
Also - while I have you here. I'm trying to setup the headturn to face objects/hotspots etc in mecanim. I tried following the manual, but can't seem to set it up.
You have to define "Head yaw" and "Head pitch" parameters both in your Mecanim FSM and the Player's inspector. When head turning is enabled, AC will affect these float parameters based on the angle the head should be facing - you'll then have to add animations to your FSM to accomodate them.
Comments
Just like function parameters in code, action parameters let you run common tasks with different variables / fields. If you have a lot of QTEs, you may want to place your QTE Action in an ActionList asset, give it some parameters, so that you can call it (and set the parameters each time) whenever you want with the Engine: Run ActionList Action. If you used this same Action to call your win/lose Cutscenes as well, you could parameterise them, too.
Something like this:
A tutorial on parameters can be found here.
Also - while I have you here. I'm trying to setup the headturn to face objects/hotspots etc in mecanim. I tried following the manual, but can't seem to set it up.
Thanks again.