Hi,
The Script field is for Lua code which, like C# code, doesn't understand "@3".
If MovePlayerTeam() is a C# function that you've registered with Lua, you can add another parameter to specify when it should take effect. Then your Script field might look like this:
However, you may prefer to make MovePlayerTeam into a
custom sequencer command. Then you can use it in the Sequence field along with the other sequencer commands.
Timeslip wrote: ↑Fri Apr 05, 2019 9:38 amAlso, can you explain how to leave the camera in its current position once a conversation has ended?
The Camera() sequencer command always restores the camera's pre-conversation position at the end of the conversation.
To move the camera and leave it there, use the MoveTo() sequencer command instead. This bypasses the Camera() command's logic to restore the pre-conversation position. So instead of this:
Code: Select all
Camera(Mayor's Office Corridor Camera Angle)@3.5;
use this:
Code: Select all
MoveTo(Mayor's Office Corridor Camera Angle,Main Camera)@3.5;
(This assumes your camera is named "Main Camera".)