inkle / ink-unity-integration

Unity integration for the open source ink narrative scripting language.
http://www.inklestudios.com/ink
Other
571 stars 99 forks source link

I need help with splitting lines for a database. #94

Closed ashfidable closed 4 years ago

ashfidable commented 4 years ago

I don't know how often we get replies here. But I am trying to keep database of my Ink files in Scriptable Object. The problem is I have list of string where I want to store my lines before Choices. Individually. I get it .Continue() handles that but its not the same for stuff like that. Can anyone help me? I can do for(int i = 0; i < LINESIHAVE; i++){ Lines.Add(Story.Continue()); } Kinda thing but then I have to mention Lines by hand, is there no way I can know the count of lines before Choices?

tomkail commented 4 years ago

Try our discoed for help using the plugin! https://discord.gg/tD8Am2K

On Sat, 12 Oct 2019 at 03:27, Ashfid notifications@github.com wrote:

I don't know how often we get replies here. But I am trying to keep database of my Ink files in Scriptable Object. The problem is I have list of string where I want to store my lines before Choices. Individually. I get it .Continue() handles that but its not the same for stuff like that. Can anyone help me? I can do for(int i = 0; i < LINESIHAVE; i++){ Lines.Add(Story.Continue()); } Kinda thing but then I have to mention Lines by hand, is there no way I can know the count of lines before Choices?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/inkle/ink-unity-integration/issues/94?email_source=notifications&email_token=AAJR3UBHW3GOKQQIXOKI2ULQOEY2BA5CNFSM4JAAZFE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRKYEGQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJR3UGALRJIF44YE7X7ITDQOEY2BANCNFSM4JAAZFEQ .