

This example Blueprint Macro checks if the score that is input into the Macro is greater than the necessary score for winning, and then triggers different output execution flows depending on To give your Blueprint Macro some functionality, connect data and execution wires to the pins of your Inputs and Outputs tunnel nodes and create a network between them. To change the location of the pin for this parameter on the edge of the node, use the up and down arrows in the expanded Details pane entry. The Pick Parent Class window will appear, and from this point the Blueprint Macro Library creation process is the same as if you had used the New Asset button. In the menu that appears, select Blueprints > Blueprint Macro Library under Create Advanced Asset. Right-click in the Asset View (right-hand) panel of the Content Browser, or on a folder in the Asset Tree (left-hand) panel of the Content Browser. There are two other methods by which to access the Blueprint Macro Library Creation menu from the Content Browser. This indicates that the Blueprint Macro Library is not saved. When your Blueprint Macro Library is first created, or when you make changes to it in the Blueprint Editor, an asterisk will be added to the Blueprint Macro Library's icon in the Content Browser. Type a name for your Blueprint Macro Library under its icon in the Content Browser. Your Blueprint Macro Library will now appear in the Content Browser.

Select Blueprints > Blueprint Macro Library under Create Advanced Asset from the menu that appears.Ĭhoose a Parent Class for your Blueprint Macro Library. To a Macro are only reflected in graphs that reference that Macro when the Blueprint containing those graphs isīlueprint Macro Libraries are stored in packages and can be created through the Content Browser like any other asset. This means that Blueprint Macro Libraries do not need to be compiled. Macros are shared among all graphs that reference them, but they are auto-expanded into graphs as if they were aĬollapsed node during compiling. These can be time-savers as they can store commonly used sequences of nodesĬomplete with inputs and outputs for both execution and data transfer.

Using Macros stored in Blueprint Macro LibrariesĪ Blueprint Macro Library is a container that holds a collection of Macros or self-contained graphs that canīe placed as nodes in other Blueprints.
