Help: Can we prevent character transition skipping?

Posted: 19 May 2021 21:49
by AntonioA

Double clicking or pressing enter ends the printer text animation and ALSO ends the character (@char) transition animation without the transition/easing (that I've set a time:1.0 for).

Is there some way to prevent continue/skipping globally for character transitions ONLY and not for the printer?
(This almost works by setting @processInput to false before the @char transition and @processInput to true after; but this isn't an elegant solution since it needs to be set every single time and also doesn't process input for the printer)

Would greatly appreciate the help.

Note: I've only tried this in the webgl sandbox so far. If there is a quick solution to this, would purchase immediately.


Re: Help: Can we prevent character transition skipping?

Posted: 20 May 2021 09:27
by idaot

Hello, what you are describing might be possible by disabling Complete On Continue in the Script Player Config. (Description: "Whether to instantly complete blocking (wait:true) commands performed over time (eg, animations, hide/reveal, tint changes, etc) when Continue input is activated").

If it doesn't suit your needs then it can always be overriden or modified via C#.

Image


Re: Help: Can we prevent character transition skipping?

Posted: 20 May 2021 09:33
by AntonioA
idaot wrote: 20 May 2021 09:27

Hello, what you are describing might be possible by disabling Complete On Continue in the Script Player Config. (Description: "Whether to instantly complete blocking (wait:true) commands performed over time (eg, animations, hide/reveal, tint changes, etc) when Continue input is activated").

If it doesn't suit your needs then it can always be overriden or modified via C#.

Image

Thank you for the reply.
I've seen that option in the docs. But can that be done just for the @char transitions, as I would like the printer text transitions to behave as it does currently (with the animations completing on double clicking).


Re: Help: Can we prevent character transition skipping?

Posted: 20 May 2021 16:45
by AntonioA

Would really appreciate some help on whether it can be done and how difficult it is (for @char alone).


Re: Help: Can we prevent character transition skipping?

Posted: 20 May 2021 22:11
by Elringus

It should be possible by overriding @char command and ignoring cancellationToken.CancelLazy conditions. Here is the guide on overriding built-in commands: https://naninovel.com/guide/custom-comm ... in-command


Re: Help: Can we prevent character transition skipping?

Posted: 21 May 2021 15:30
by AntonioA
Elringus wrote: 20 May 2021 22:11

It should be possible by overriding @char command and ignoring cancellationToken.CancelLazy conditions. Here is the guide on overriding built-in commands: https://naninovel.com/guide/custom-comm ... in-command

Thanks so much. Will try that out.