Scripting, Code & Interaction: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 222: Line 222:


Check to see that the text in your command on that line (or near that line) does not use more than 200 characters at a time in a string. Examples include '''Display()''' commands and derivatives thereof. Split long lines up into multple lines.  
Check to see that the text in your command on that line (or near that line) does not use more than 200 characters at a time in a string. Examples include '''Display()''' commands and derivatives thereof. Split long lines up into multple lines.  
AGS 2.71 has support for longer strings using the '''String''' datatype, but some parts of AGS still have the 200 character limit, so beware.


This error can also be thrown if you wrap your string in single-quotes instead of double-quotes.  You must use double-quotes in functions like player.Say("Hello World.");
This error can also be thrown if you wrap your string in single-quotes instead of double-quotes.  You must use double-quotes in functions like player.Say("Hello World.");
AGS 2.71 has support for longer strings using the '''String''' datatype, but some parts of AGS still have the 200 character limit, so beware.


==Slowing down your loops==
==Slowing down your loops==
2

edits