Scripting, Code & Interaction: Difference between revisions
no edit summary
Monkey'05'06 (talk | contribs) No edit summary |
No 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. | ||
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. | 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. |