Custom Variables

    Documentation

    What are Custom Variables?

    What are Custom Variables?

    success

    Custom Variables are used to define variables that you and your team can use in all diagrams, by referencing them in the Formula fields of Nodes and Connections.

    There are 3 tabs available:

    1. Diagram – a list of variables in use on the diagram you are currently editing
    2. Private – all variables available across your account
    3. Team – all variables available across your team’s account
    warning

    To use a private or team variable in your diagram, it must be added to the Diagram tab first.

    Read the following sections for more details.

    1. Click the + button as shown in the screenshot above
    2. Pick the type of variable you’d like to add from the dropdown
    3. Go through the configuration steps
    info

    Custom Variables added by using the + button while in the Diagram tab:

    1. will be readily available for use in the diagram you’re currently editing
    2. will also be listed in the Private tab

     

    info

    Custom Variables added by using the + button while in the Private/Team tabs

    1. will not be available in the Diagram tab upon saving
    2. to use them in the diagram you are currently editing, go through the section below: Using a previously saved variable

    To add a custom variable you or a teammate have previously defined and saved:

    1. Go to the Private or Team tab
    2. Find the custom variable you wish to use
    3. Click the contextual menu (3-dotted) next to it
    4. Choose between:
      1. Use in this diagram – an instance of this custom variable will be available in the Diagram tab, and you can use it in the Formula fields of nodes and connections. Changes made to a custom variable added through this method will propagate throughout ALL its instances.
      2. Copy to this diagram – a copy of this custom variable will be made available in the Diagram tab and you can use it in the Formula fields of nodes and connections. Use this method if you want the custom variable to be independent of the one being copied. Changes made to the custom variable being copied will NOT affect its copies.

    There are 4 types of custom variables you can define:

    1. Randomness – acts as a random number generator and can be defined as intervals or arrays
    2. Math Expression – define complex variables using formulas from the math.js library
    3. External JSON – uses input values from external JSON files
    4. Live Market Feeds – returns stats (e.g. FloorPrice) for projects listed on markets

    If any of your older diagrams used the now deprecated Global Variables (Dice, Skill, Multiplayer, Strategy) feature, we will automatically create a custom variable with the same set-up as you defined in the deprecated feature.

    This ensures that your older diagrams will still work as intended.

    Contents

    All Rights Reserved © Machinations S.àr.l

    8217, Mamer, Luxembourg, accounts at BGL BNP PARIBAS, VAT number: LU30464284

    We use cookies for marketing and analytics. We also share information about your use of our site with our marketing and analytics partners who may combine it with other information that you’ve provided to them. You consent to our cookies if you continue to use our site. Learn more