Page 1 of 1

Are Custom Sequencer Commands the only way to trigger C# functions in conversations?

Posted: Fri Jun 14, 2024 12:58 am
by 2linescrossed
Hi, quick and basic question here - is the only way to integrate C# functions into the sequencer through custom sequencer commands?
I just want to do something basic like having a visual novel styled Cutscene change backgrounds & toggle on different light sources depending on which of the backgrounds are loaded.
I guess in theory I could just do these functions and separate conversations into multiple smaller conversations with things like background changes + Bg transition effects happening between the conversations but that sounds like it would be more complicated to process, with more potentially going wrong.

Can I get some feedback on what's the smartest way to handle this?

Re: Are Custom Sequencer Commands the only way to trigger C# functions in conversations?

Posted: Fri Jun 14, 2024 8:30 am
by Tony Li
Hi,

Register your C# function with Lua, and use it in the dialogue entry's Script field.