Issue with CinemachinePriority() Cut Command

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
3Gregg
Posts: 10
Joined: Sun Jul 19, 2020 2:03 pm

Issue with CinemachinePriority() Cut Command

Post by 3Gregg »

Hi,

I am having issues with the cut command regarding CinemachinePriority().

As you can see below, I have the sequence in there (camera, cut), but it's still blending between the two. Any idea why that might be? I saw there was an issue previously, but based on patch notes back in June it seems that isn't the issue.
Snag_350175.png
Snag_350175.png (56.11 KiB) Viewed 619 times
Thank you!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue with CinemachinePriority() Cut Command

Post by Tony Li »

The square brackets shown around [cut] in the manual indicate that the cut parameter is optional. You don't need to actually include the square brackets in your sequencer command. Try this:

Code: Select all

CinemachinePriority(Aneya OS Med, 999, cut)
If you leave the middle parameter blank, it will default to a value of 999:

Code: Select all

CinemachinePriority(Aneya OS Med, , cut)
(However, note that I included the middle parameter, as indicated by the two commas, but I left that parameter as a blank string.)
3Gregg
Posts: 10
Joined: Sun Jul 19, 2020 2:03 pm

Re: Issue with CinemachinePriority() Cut Command

Post by 3Gregg »

Ha, well now I feel dumb. That worked perfectly. Thank you!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue with CinemachinePriority() Cut Command

Post by Tony Li »

Glad to help! :-)
Post Reply