Aller au contenu

Photo

Gestalt's Cutscenes - help with final camera angle and distance.


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
3RavensMore

3RavensMore
  • Members
  • 703 messages
Posted this to the scripting forum before I realized it's probably is more a custom content question.

Using Gestalt's great cutscene scripts, here's the (seemingly) simple thing that I wish to do.

When
the cutscene ends, I want to leave the camera angle and distance
exactly were is after the final cutscene camera move, I don't want it to
snap back to the pre-cutscene camera angle and distance.  I've been
trying to figure this out for about a day, so so far, nothing seems to
work.

Any help would be greatly appreciated. 

#2
meaglyn

meaglyn
  • Members
  • 813 messages
You can set the stored camera facing, which is what gets restored when the cutscene ends, using this:

AssignCommand(oPC,StoreCameraFacing());

Just call this once you get to the last camera facing you want before you end the cutscene. At least that's what the documentation implies. I have not tested this...

meaglyn

#3
3RavensMore

3RavensMore
  • Members
  • 703 messages
That was one of the things I tried. I didn't work. It seems that when you do a cutscene, it changes what is stored via StoreCameraFacing().

Modifié par 3RavensMore, 11 août 2013 - 02:43 .


#4
meaglyn

meaglyn
  • Members
  • 813 messages
Starting cutscene mode stores the camera facing, so yes. I meant do another store near the end of the cutscene, when you have the camera where you want it. The trick would probably be delaying it properly so that it happened at the right time in the cutscene sequence.

Did you try setcamerafacing(..., SNAP) at the end?