I also, (almost?) made it work with links to menu texts (which i wrote before was a bit stupid), but the super weird thing here is that it only works if I have these chars:
Code: Select all
public static readonly char SCRIPT_CHAR = '$';
public static readonly char LINK_CHAR = ';';
Code: Select all
public static readonly char SCRIPT_CHAR = ';';
public static readonly char LINK_CHAR = '$';
I think you told me that the JLC team wrote this code and not you, so I don't expect you to fix this for me, but it's a bit annoying that it's so close, and still doesn't fully work. I attached the code anyhow if you or anyone else is interested.
Another thing I just thought of, is that it would be kinda complicated to export the LINK-commands, and later reimport them, so I'm considering just reading the $Grow?$ link command on the fly in the StandardUISubtitlePanel class, hide the text, and send it to the correct node.
What would be a proper way to do that from within the StandardUISubtitlePanel and jump to a specific node or another conversation?
Thanks
Here's a simple test to read it:
Code: Select all
#99 Chippy/Test2
Chippy: Hey chef!
[Again]
Chef: Say that again? $#19$ ;script2;
Chippy: Eh, ok.
[-]
[Skip]
Chef: I wanna skip that… $Test$ ;script;
Chippy: Eh, ok.
[-]