This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
macro [2014/01/15 02:50] l [List of built-in macros] |
macro [2017/10/09 20:39] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
A **macro** is a piece of code that is inserted into [[passage]] text. Macros are used to accomplish many effects, such as altering the game's state, displaying different text depending on the game's state, and altering the manner in which text is displayed. | A **macro** is a piece of code that is inserted into [[passage]] text. Macros are used to accomplish many effects, such as altering the game's state, displaying different text depending on the game's state, and altering the manner in which text is displayed. | ||
- | ===== List of built-in macros===== | + | ===== List of Twine 1 built-in macros===== |
- | These are only the built-in macros in Twine - other macros may be installed or written on a story-by-story basis. | + | |
+ | ([[http://twinery.org/wiki/twine2:add_stats_rpg_battles_or_just_plain_random_events|Twine 2 macros start here]].) | ||
+ | |||
+ | These are only the built-in macros in Twine 1. Other macros may be installed or written on a story-by-story basis. | ||
The following macros **control variables and text** in the story, or use them to alter the displayed passage text: | The following macros **control variables and text** in the story, or use them to alter the displayed passage text: |