Automatically Run Nani Script during Integration

Posted: 20 Jun 2021 22:51
by GriffinSTatum

Hi, I've been working with Naninovel for a bit for my 2D Fighting Game(which is using UFE2), and have been fairly successful integrating the two engines together. The issue I'm currently running into is how to launch the scripts. Due to the nature of the game, I don't want to bring up a prompt asking the player if they'd like to go to Novel Mode, I'd just like a script to play if a specific game object is active(TextureConversationBeforeBattleScreen). Is there an easy way to implement this? Maybe an alternative to having the script activate from the "On Click" method?


Re: Automatically Run Nani Script during Integration

Posted: 21 Jun 2021 00:17
by Elringus

Hi, Check out integration example project (https://naninovel.com/guide/integration-options), it plays a script with IScriptPlayer engine service.