add to SetTitleText more information

Using Naninovel C# APIs: adding custom actor implementations or commands, overriding engine services, integrating with other systems, etc.
Post Reply
bugger
Posts: 14
Joined: 22 Apr 2022 08:10

add to SetTitleText more information

Post by bugger »

About GameStateSlot.cs

I want to add to SetTitleText more information

Now
SetTitleText SlotNumber date

After
SetTitleText SlotNumber Score Level GOLD HP exp

How do I get variable from GameStateMap state?

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: add to SetTitleText more information

Post by idaot »

Check the CustomUI example project which has a custom GameStateSlot where SetTitleText has been overridden to include the last printed text.

https://github.com/Naninovel/CustomUIExample

bugger
Posts: 14
Joined: 22 Apr 2022 08:10

Re: add to SetTitleText more information

Post by bugger »

Where stores Custom variables?
it does not seems GameStateMap stores Custom variables

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: add to SetTitleText more information

Post by idaot »

I don't know what you mean by custom variables, if you mean the naninovel ones then they never contained such things and I don't know what you were expecting.

Post Reply