User Tools

Site Tools


harlowe:command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
harlowe:command [2017/06/19 02:24]
l created
harlowe:command [2019/04/16 03:58] (current)
l
Line 1: Line 1:
 +====Command data====
 Commands are special kinds of data which perform an effect when they'​re placed in the passage. Commands are special kinds of data which perform an effect when they'​re placed in the passage.
 Most commands are created from macros placed directly in the passage, but, like all forms of Most commands are created from macros placed directly in the passage, but, like all forms of
Line 5: Line 6:
 Macros that produce commands include [[harlowe:​display|(display:​)]],​ [[harlowe:​print|(print:​)]],​ [[harlowe:​go-to|(go-to:​)]],​ [[harlowe:​save-game|(save-game:​)]],​ [[harlowe:​load-game|(load-game:​)]],​ Macros that produce commands include [[harlowe:​display|(display:​)]],​ [[harlowe:​print|(print:​)]],​ [[harlowe:​go-to|(go-to:​)]],​ [[harlowe:​save-game|(save-game:​)]],​ [[harlowe:​load-game|(load-game:​)]],​
 [[harlowe:​link-goto|(link-goto:​)]],​ and more. [[harlowe:​link-goto|(link-goto:​)]],​ and more.
 +
 +Commands like [[harlowe:​display|(display:​)]],​ [[harlowe:​print|(print:​)]],​ [[harlowe:​link|(link:​)]],​ [[harlowe:​show|(show:​)]] and so on are used to print data or an interactive
 +element into the passage. These elements can be styled like hooks, by attaching [[harlowe:​changer|changers]] to the macro,
 +as if it was a hook.
 +
 +In addition to their visual appearance, you can also change what passage transitions links use,
 +by applying [[harlowe:​t8n-depart|(t8n-depart:​)]] and [[harlowe:​t8n-arrive|(t8n-arrive:​)]]. (Note that since normal passage links are identical to the
 +[[harlowe:​link-goto|(link-goto:​)]] macro, you can also attach changers to passage links.)
harlowe/command.1497853449.txt.gz ยท Last modified: 2017/10/09 20:37 (external edit)