Skip to content

Low-Code Macro

The Low-Code Macro module for Foundry VTT is a powerful tool that helps you create your own macros with ease. It allows you to visualize, control, and define every step of the process in the exact way you want.

This is a large and ambitious project that will take time to fully complete. The current version is beta, so it may still contain bugs. Your feedback and suggestions are extremely important to help improve the module.

This is just the beginning for both the module and this wiki updates will be coming soon!


First, make sure the module is enabled:

LowCode1


Go to the Macro tab, create a new macro, and give it a name. This will open the Editor.

LowCode2


Double-click with the left mouse button, or right-click to open the context menu with available options.

LowCode3


There are many different types of nodes you can create. You’ll need to define the order in which they will be executed.

LowCode4

At any time, you can use Toggle Code Preview to view the generated code.

LowCode5

It’s highly recommended to rename your variables after creating them, for better organization.

LowCode6


To create a path, you need to decide the final goal.

For example, here’s a simple setup with the following objective:

Roll a D20. If the result is higher than the variable value (10), send a message to the chat.

LowCode7

Execution example:

LowCode8