Macros: Difference between revisions

From Bonfire by Hogswild Prasetto
Added link to command console wiki
More info...
Line 1: Line 1:
''This is an advanced meta-game feature.''
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]].


Line 4: Line 6:


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.
Once a macro is saved, it can be injected into any orc by using '''macroinject''' '''''name''''' in the command console, and executed with commands such as '''macroexec''' '''''name''''' or '''timedmacro''' '''''name'''''

Revision as of 00:48, 7 January 2019

This is an advanced meta-game feature.

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.

Once a macro is saved, it can be injected into any orc by using macroinject name in the command console, and executed with commands such as macroexec name or timedmacro name