I am trying to activate and deactivate a cinematic sequence device with an if statement in a verse script but I don’t know, and can’t find the answer anywhere.
This page describes Coding Device Interactions. Once you have a reference to the cinematic sequence device in your level established you can call the Play() function on it or use any of the functionality outlined here cinematic_sequence_device class.
1 Like
I followed the first link, but the cinematic sequence device will not play. The code is:
@editable
CinematicSequenceDevice:cinematic_sequence_device = cinematic_sequence_device{}
CinematicSequenceDevice.Play()
I don’t think there is anything wrong with it but I’m not sure.
Did you assign your CinematicSequenceDevice to the actual device in the world through the editor?
Yeah, that was it. Thanks so much!
1 Like