Hello everyone,
I was wondering if there was a way to randomize the Interaction button that the user must press in a QTE event (for the moment I'm thinking only about the Button Mash, but the same principle could be applied to any QTE). Until now I've tried fiddling with the SetInteractionParameters class, in which I wanted to set via script the value passed to the parameter, but I can't understand where this value is saved. Can somebody help me?
Thanks
Willy
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Overriding the "Input button name" field with a String parameter is the way to go.
For it to be random, though, you're going to need to rely on a custom script to set the parameter value. The basic principle is that you hook into the OnBeginActionList custom event, and update the ActionList's parameter value before the Action itself is run.
Something like this should do it: