A problem with Tigerworks scripting engine!
Hello,
I've recently got this engine to work pretty much perfectly with my game. Only one problem, for some reason the scripting engine gets me a 96 character limit. So when I want a dialog where someone says a line longer than that limit, it will cut-off the rest.
What is causing this?
The engine
Re: A problem with Tigerworks scripting engine!
You could try Lua scripting.
Re: A problem with Tigerworks scripting engine!
Yes, but if possible I'd like to just solve this one problem as I got the language and all it's functions down and have it fully working with my game, except for that tiny problem. Will save me lot's of thinking/crying time. :P
I'll remember to actually use the Lua object from the beginning when I do my next project though. :)
Anyone have any idea what might be causing the character limit?
Re: A problem with Tigerworks scripting engine!
All the GetText$( "Output", 0, 99 ) stuff in the code means it only gets the first 99 characters - you have to increase the number.
Re: A problem with Tigerworks scripting engine!
That does work when I make a quick application with 1 string and set it's text to GetText$( "Output", 0, 999 ). But once I do this in this scripting engine it doesn't work.
Re: A problem with Tigerworks scripting engine!
IIRC it isn't just once instance. Elsewhere in the code it needs to be changed in a similar manner.
Re: A problem with Tigerworks scripting engine!
Yes, I understood that. But it turns out there was another factor causing the problem as well. It is partially the limit on GetText, but also the fact that the engine only runs 100 fastloops per line. Increasing that value is also needed. (D'OH! xD)
Thanks for the help Joshtek, now I can get on with this without having to change the whole script-engine! :)
Re: A problem with Tigerworks scripting engine!
Ah I see, thanks for sharing your solution.