Page 1 of 1

Cutscene

Posted: Fri Mar 17, 2023 4:14 am
by hrohibil
Hello Tony

Please see pic below.

I hahve setup a dialouge trigger when my FPS player enters the trigger then i want to start a cutscene.

No convesation, just a cutscene of the bozz animation. the animation takes approx 7 sec.

-Which approch should i take here?
-Should i place a new camera so i have a good shot of the enemi?

BTW why cant i see any EVENTS from the dialouge system trigger? Say i want to fire of a debug message from a script?
And how do i disbale the trigger once used once?



Re: Cutscene

Posted: Fri Mar 17, 2023 10:05 am
by Tony Li
> I hahve setup a dialouge trigger when my FPS player enters the trigger then i want to start a cutscene.
> No convesation, just a cutscene of the bozz animation. the animation takes approx 7 sec.
> -Should i place a new camera so i have a good shot of the enemi?

Yes, you can do that. Use SetEnabled() sequencer commands to enable the new camera and disable the player's camera/movement control scripts. At the end of the sequence, disable the new camera and re-enable the player's camera/movement scripts.


> BTW why cant i see any EVENTS from the dialouge system trigger? Say i want to fire of a debug message from a script?

Select Add Action > OnExecute() UnityEvent.


> And how do i disbale the trigger once used once?

Set it up similarly to: How To: Run a Conversation Only Once