Macro: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Macro is a a rule or pattern which specifies how a certain input (like a combination of keys) must be mapped to an output string replacement according to a defined procedure. | <languages /><br><translate> | ||
A '''Macro''' is a a rule or pattern which specifies how a certain input (like a combination of keys) must be mapped to an output string replacement according to a defined procedure. | |||
In Vintage Story, Macros are used to use certain commands quick without need to type the command on the chat which saves some time when you need it. | In Vintage Story, Macros are used to use certain commands quick without need to type the command on the chat which saves some time when you need it. | ||
== Creation == | == Creation == | ||
[[File:Macro Editor.png|alt=Example of a Macro Editor|thumb|363x363px]] | [[File:Macro Editor.png|alt=Example of a Macro Editor|thumb|363x363px]] | ||
In order to access all your Macros, press Ctrl + M, then you need to name your Macro, write a command and tell which inputs on the keyboard needs to trigger the command by typing the right hotkeys (single or combo) it works both for server and client commands. | In order to access all your Macros, press Ctrl + M, then you need to name your Macro, write a command and tell which inputs on the keyboard needs to trigger the command by typing the right hotkeys (single or combo) it works both for server and client commands. | ||
Or type the follow [[List of server commands/macro|server commands]]: | Or type the follow [[List of server commands/macro|server commands]]: | ||
== Recommendations == | == Recommendations == | ||
=== Name === | === Name === | ||
Name all the Macros with unique names to work. | Name all the Macros with unique names to work. | ||
Line 16: | Line 22: | ||
=== Hotkeys === | === Hotkeys === | ||
Insert multiple hotkeys [Ctrl, Alt, Shift, etc.] + [Anything] because that the game already has a lot of hotkeys that serve a purpose. | Insert multiple hotkeys [Ctrl, Alt, Shift, etc.] + [Anything] because that the game already has a lot of hotkeys that serve a purpose. | ||
If you modify the hotkey of a already existing macro, it will not work unless you restart the game | If you modify the hotkey of a already existing macro, it will not work unless you restart the game. | ||
</translate> | |||
{{Game navbox}} |