Macros: Difference between revisions

From Bonfire by Hogswild Prasetto
removed redundance
Added link to command console wiki
Line 1: Line 1:
Macros are custom portions of game logic that can be created in-game. The editor can be executed by writing '''sedit''' in the command console.
Macros are custom portions of game logic that can be created in-game. The editor can be executed by writing '''sedit''' in the [[command console]].


The editor itself resembles the dialogue editor seen in other parts of the game's interface, such as the NPC editor, sharing basic structure and file format. Given this, macro contents are nested like those in a dialogue tree, and is executed just like one; the main difference being that macros do not display any text and are executed instantly on their entirety.
The editor itself resembles the dialogue editor seen in other parts of the game's interface, such as the NPC editor, sharing basic structure and file format. Given this, macro contents are nested like those in a dialogue tree, and is executed just like one; the main difference being that macros do not display any text and are executed instantly on their entirety.


Conditionals and actions play an important role in macro nesting and work exactly like those you'd find in complex NPC dialogues.
Conditionals and actions play an important role in macro nesting and work exactly like those you'd find in complex NPC dialogues.

Revision as of 00:41, 7 January 2019

Macros are custom portions of game logic that can be created in-game. The editor can be executed by writing sedit in the command console.

The editor itself resembles the dialogue editor seen in other parts of the game's interface, such as the NPC editor, sharing basic structure and file format. Given this, macro contents are nested like those in a dialogue tree, and is executed just like one; the main difference being that macros do not display any text and are executed instantly on their entirety.

Conditionals and actions play an important role in macro nesting and work exactly like those you'd find in complex NPC dialogues.