C2G: Difference between revisions

1 byte added ,  2 June 2021
no edit summary
No edit summary
No edit summary
Line 278: Line 278:
Scripts can be "chained" using the chain directive; immediately stopping the parsing of the current script and starting again on the first line of the chained script. This can be useful for compartmentalizing long scripts associated with particular levels.
Scripts can be "chained" using the chain directive; immediately stopping the parsing of the current script and starting again on the first line of the chained script. This can be useful for compartmentalizing long scripts associated with particular levels.
  <nowiki>chain "anotherscript.c2g"</nowiki>
  <nowiki>chain "anotherscript.c2g"</nowiki>
  <nowiki>chdir "anotherdirectory\"
  <nowiki>chdir "anotherdirectory\"
chain "scriptinanotherdirectory.c2g"</nowiki>
chain "scriptinanotherdirectory.c2g"</nowiki>
trusted-editors
331

edits