To remedy the issue, I came up with a way to drastically reduce the text used in the map. Most of my text lines were the same or similar messages just repeated under different scripts. So I took all of the text lines that were the same and used in multiple scripts and set them up with a single variable. In this case v9...
So I can do this...
if eq(v9, 1) then Text("Text string 1") endif
if eq(v9, 2) then Text("Text string 2") endif
if eq(v9, 3) then Text("Text string 3") endif
Then add a script to automatically set the text variable v9 back to 0 after it's used, this way the text doesn't keep repeating when it is called on by another script...
If gt(v9, 0) and elapse(1) then
set(v9, 0)
endif
Now when ever I want to use these text strings in multiple scripts, instead of doing this...
If CONDITION then
Text("Text String 1")
endif
I can do this...
If CONDITION then
Set(v9, 1) //Text String 1
endif
This allows me to use the same 'Text(" ") command over several scripts without using up more of the character limit.
In some cases I had up to 11 different scripts using the same text line. I did this process for every text line that was used more than once and reduced my total characters from 4,246 to 1,639 characters.
That's a big difference. Sorry I'm rambling on, but maybe someone else can use this in the future.
|