Hi Chris and all!
Is there a way to access the current playing movie clip to modify the "Player can skip?" setting dynamically, or to force a skip if there's a video playing?
For context: In a full build of the game, we don't want players to be able to skip most of the action list's played movie clips throughout the game. As developers, we definitely want to skip them to make testing easier (or for something like quick demos). It would be super neat for us to be able to leave the default settings as they are for all the movie clip action list nodes while also allowing us to toggle a debug/demo mode in our code, and then utilize the SkipVideo input that's assigned in the Input Manager to bypass those clip settings.
I also thought about making a separate "DebugSkipVideo" input that we could disable as needed, but then we'd have to remember to add that to all of the "Play movie clip" nodes in a game that's going to have quite a lot of them.
Thanks for the assistance!
Very respectfully,
Tyler
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I found a really round-about way of making this work, but hopefully there's something better?
If the Actions already had the debug input details filled in, you could override use of the input so that it's ignored when not in a Debug build.
Otherwise, you can also just stop the Video Players manually, because the Action will stop if the Video it references is no longer playing:
Awesomesauce! Thanks for the alternatives.
I'm less hesitant to use the solution I first came up with now that I've had time to think about it. Considering it's a binding that only sets itself up via
.performedfor the "SkipVideo" input action if our Debug mode is toggled on, and it only fires once when performed. So I guess it's not all that performance-intensive as it is.I appreciate the extra eyes and brain, sir. As always, you are the greatest.