backIndex

Xelagot action script

Text fields

Chunks of text may be encolsed in text fields. These go after the End statement of the script, in the same region you define the Subs. The syntax is:
Text <textlabel>
your text here
EndText

All characters in the text field will be taken literally.

Example of a script which will only read one text field and end:

[Head]
Type=Script
Version=2.0

[Settings]
Origin=0.000n 0.000w 0.00a 0.0°

[Script]
   SayText 1 DukeOrsino
End

Text DukeOrsino
If music be the food of love, play on;
Give me excess of it, that, surfeiting,
The appetite may sicken, and so die.
That strain again! it had a dying fall:
O, it came o'er my ear like the sweet sound,
That breathes upon a bank of violets,
Stealing and giving odour! Enough; no more:
'Tis not so sweet now as it was before.
O spirit of love! how quick and fresh art thou,
That, notwithstanding thy capacity
Receiveth as the sea, nought enters there,
Of what validity and pitch soe'er,
But falls into abatement and low price,
Even in a minute: so full of shapes is fancy
That it alone is high fantastical.
EndText

See the sections on Say and String lists for usage.



backIndex