<aside> ℹ️ How to open the variables manager screen Click in the variables button in the sidebar once a project is loaded.
Note: You need at least one blueprint in your project to access this screen.
</aside>
Variables are a tool where you can define text or icon replacements so you can update that variable in your iterations and they will change in every place that variable is being used.
Think in ❤ health icons for example, or 🗡 damage values!
They also serve to calculate special values (e.g.: total item count) or to get another panel’s value.
You simply write a tag between curly braces
→ { TAG }
in a panel’s value and you’re done!
<aside> ℹ️ Variables works in all panel types (even if it’s not a text panel)
</aside>
You can see a popup with all this info by hovering the top right button in the variables screen.
As said, you can use a variable code for your custom variables (see below how to create one), to get another panel’s value, to get a special value (see the list) or even to render a image by writing it’s path between the curly braces.
{VARIABLE} |
Custom variable (case insensitive) |
---|---|
{PANEL NAME} |
Panel value (case sensitive) |
{project} |
Project name |
{localization} |
Localization name |
{blueprint} |
Blueprint name |
{layout} |
Layout size |
Can be forced to use mm or inches using `{layout | mm}and {layout |
{panel} |
Panel name |
{set} |
Set name |
{amount} |
Item amount |
Supports up to 4 leading zeros using `{amount | 00}to {amount |
{#} |
Item number in set |
Supports up to 4 leading zeros using `{# | 00}to {# |
{@} |
Total item count in set |
Supports up to 4 leading zeros using `{@ | 00}to {@ |
{##} |
Item number in project |
Supports up to 4 leading zeros using `{## | 00}to {## |
{@@} |
Total item count in project |
Supports up to 4 leading zeros using `{@@ | 00}to {@@ |
<aside> ℹ️ Most special variables should be referenced using lower case in text panels
</aside>
Special variables are cool, but soon you will want to create your own variables. In the variables screen, click on the Add Variable
button to create a new custom variable.