# \#macros

**URL:** https://forums.unrealengine.com/tag/macros/368.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [What's the difference between Blueprint Macros and Blueprint Functions?](https://forums.unrealengine.com/t/whats-the-difference-between-blueprint-macros-and-blueprint-functions/280809)

<div class="topic-metadata">

**Author:** [@Feanix](https://forums.unrealengine.com/u/Feanix)\
**Replies:** 28\
**Last updated:** [August 20, 2026, 4:28pm UTC](https://forums.unrealengine.com/t/whats-the-difference-between-blueprint-macros-and-blueprint-functions/280809 "2026-08-20T16:28:55Z")

</div>

They both seem to do the same thing in the end. When should I use a function and when should I use a function?

---

## [Advanced Logging System - Plugin](https://forums.unrealengine.com/t/advanced-logging-system-plugin/2513455)

<div class="topic-metadata">

**Author:** [@RTerofer](https://forums.unrealengine.com/u/RTerofer)\
**Replies:** 5\
**Last updated:** [August 13, 2026, 5:14pm UTC](https://forums.unrealengine.com/t/advanced-logging-system-plugin/2513455 "2026-08-13T17:14:37Z")

</div>

Advanced Logging System Hello Unreal Engine Community. I am excited to finally launch this plugin. If you have any queries related to this plugin, please ask them here. The Advanced Logging System is a complete debuggin…

---

## [How to branch on an execution pin?](https://forums.unrealengine.com/t/how-to-branch-on-an-execution-pin/2669952)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 3\
**Last updated:** [October 30, 2025, 12:32pm UTC](https://forums.unrealengine.com/t/how-to-branch-on-an-execution-pin/2669952 "2025-10-30T12:32:14Z")

</div>

This is a simple question, but is it possible to process A to be output only when there is input to execution pin B? I want to be able to allow output depending on the execution status of other lines instead of the Bool…

---

## [Array of objects input on macro shows up as wildcard in the array element when I iterate through it with a for loop](https://forums.unrealengine.com/t/array-of-objects-input-on-macro-shows-up-as-wildcard-in-the-array-element-when-i-iterate-through-it-with-a-for-loop/2520502)

<div class="topic-metadata">

**Author:** [@NullSignature](https://forums.unrealengine.com/u/NullSignature)\
**Replies:** 7\
**Last updated:** [October 17, 2025, 2:47pm UTC](https://forums.unrealengine.com/t/array-of-objects-input-on-macro-shows-up-as-wildcard-in-the-array-element-when-i-iterate-through-it-with-a-for-loop/2520502 "2025-10-17T14:47:43Z")

</div>

\[Album\] imgur.com I have a macro with two inputs, an execute and a…

---

## [Blueprint Macro Inheritance](https://forums.unrealengine.com/t/blueprint-macro-inheritance/325206)

<div class="topic-metadata">

**Author:** [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Replies:** 12\
**Last updated:** [April 27, 2025, 1:07pm UTC](https://forums.unrealengine.com/t/blueprint-macro-inheritance/325206 "2025-04-27T13:07:25Z")

</div>

Hey guys, I’ve got a character class that inherits from another character class. In the parent class I want to create a macro that can be used in the child class, but I can’t seem to get that to work. Making a function…

---

## [Non-executing Macro: Why doesn't this work?](https://forums.unrealengine.com/t/non-executing-macro-why-doesnt-this-work/2395513)

<div class="topic-metadata">

**Author:** [@Virtuality](https://forums.unrealengine.com/u/Virtuality)\
**Replies:** 5\
**Last updated:** [March 17, 2025, 3:55pm UTC](https://forums.unrealengine.com/t/non-executing-macro-why-doesnt-this-work/2395513 "2025-03-17T15:55:08Z")

</div>

Apologies for the minimal description, not sure how to put it better in the title. Anyway, I’m trying to get a better grip on why some things work in Function, but not in Macro. The goal is to make a simple generic “Ne…

---

## [Empty Value Text in Macros](https://forums.unrealengine.com/t/empty-value-text-in-macros/2005729)

<div class="topic-metadata">

**Author:** [@Weitagon](https://forums.unrealengine.com/u/Weitagon)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 6:03pm UTC](https://forums.unrealengine.com/t/empty-value-text-in-macros/2005729 "2024-09-05T18:03:28Z")

</div>

Hello, Could someone tell me what is going wrong here? I’m trying to make a quick macro in my macro library for my actors to use that can take text and output the correct format. Only my macro library seems to really be…

---

## [Need help with my dialogue system. It works, but I want it everywhere.](https://forums.unrealengine.com/t/need-help-with-my-dialogue-system-it-works-but-i-want-it-everywhere/1145012)

<div class="topic-metadata">

**Author:** [@Blackbirdobyri](https://forums.unrealengine.com/u/Blackbirdobyri)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 3:39pm UTC](https://forums.unrealengine.com/t/need-help-with-my-dialogue-system-it-works-but-i-want-it-everywhere/1145012 "2023-04-26T15:39:33Z")

</div>

Hi there! I made a dialogue system for my game where I can simply write sentences for my NPC’s/The Player in a Macro as seen in the image I added. The macro casts the text to a widget where it changes variables and u…

---

## [Why can't I call an external macro from inside a gameplay ability blueprint?](https://forums.unrealengine.com/t/why-cant-i-call-an-external-macro-from-inside-a-gameplay-ability-blueprint/819029)

<div class="topic-metadata">

**Author:** [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Replies:** 1\
**Last updated:** [March 25, 2023, 2:25pm UTC](https://forums.unrealengine.com/t/why-cant-i-call-an-external-macro-from-inside-a-gameplay-ability-blueprint/819029 "2023-03-25T14:25:53Z")

</div>

I’m surprised to see UE5.1 doesn’t let me call a macro from my macro library blueprint inside a gameplay ability blueprint. The option doesn’t appear in the right-click context menu (even with Context Sensitive off), an…

---

## [Moving Macro from one library to another](https://forums.unrealengine.com/t/moving-macro-from-one-library-to-another/786666)

<div class="topic-metadata">

**Author:** [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 9:14pm UTC](https://forums.unrealengine.com/t/moving-macro-from-one-library-to-another/786666 "2023-03-08T21:14:50Z")

</div>

I have some macros in my project that were created a long time ago, and some that were added to the engine’s Standard Macros library. Some of these libraries should be consolidated, and since the project is being used on…

---

## [How to compile this script for 4.25?? Bulk Edit script for Distance Field Resolution Scale Multiple Meshes at a time](https://forums.unrealengine.com/t/how-to-compile-this-script-for-4-25-bulk-edit-script-for-distance-field-resolution-scale-multiple-meshes-at-a-time/476346)

<div class="topic-metadata">

**Author:** [@1001011000001](https://forums.unrealengine.com/u/1001011000001)\
**Replies:** 1\
**Last updated:** [November 21, 2022, 5:49pm UTC](https://forums.unrealengine.com/t/how-to-compile-this-script-for-4-25-bulk-edit-script-for-distance-field-resolution-scale-multiple-meshes-at-a-time/476346 "2022-11-21T17:49:41Z")

</div>

Hi all, I need help! I am new to C++ scripting. Downloaded all the necessary files to create a C++ blueprint function library. This genius created a script to call a function that basically automates the changing of mu…

---

## [Help~ UE5.0.3 can't run in macOS 13.0 with 5.0.3](https://forums.unrealengine.com/t/help-ue5-0-3-cant-run-in-macos-13-0-with-5-0-3/683668)

<div class="topic-metadata">

**Author:** [@liuxuanchao1](https://forums.unrealengine.com/u/liuxuanchao1)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 1:55am UTC](https://forums.unrealengine.com/t/help-ue5-0-3-cant-run-in-macos-13-0-with-5-0-3/683668 "2022-11-18T01:55:28Z")

</div>

My macos have updated in yesterday, to Ventura 13.0, and xcode was forced to upgrade to 14.0.1, then my UE5 was give me an error as : Log file: /Users/xuanchaoliu/Library/Application Support/Epic/UnrealBuildTool/Log.tx…

---

## [Help with "if, else if, else" blueprint macro](https://forums.unrealengine.com/t/help-with-if-else-if-else-blueprint-macro/283236)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_04894815](https://forums.unrealengine.com/u/anonymous_user_04894815)\
**Replies:** 9\
**Last updated:** [September 24, 2022, 2:09am UTC](https://forums.unrealengine.com/t/help-with-if-else-if-else-blueprint-macro/283236 "2022-09-24T02:09:08Z")

</div>

I’m trying to make a blueprint macro that combines multiple branches into an “if, else if, else if, … else” format. Easy enough, but I was hoping to make its length dynamic by having the little “Add pin (+)” option in it…

---

## [need a macro or function](https://forums.unrealengine.com/t/need-a-macro-or-function/482482)

<div class="topic-metadata">

**Author:** [@blendernuuub](https://forums.unrealengine.com/u/blendernuuub)\
**Replies:** 15\
**Last updated:** [April 26, 2021, 7:58pm UTC](https://forums.unrealengine.com/t/need-a-macro-or-function/482482 "2021-04-26T19:58:34Z")

</div>

i need a macro that checks if a cam is active or not. if firstperson is not active use thirtperson if thirtperson is not active use first person… im now by the macro creation windo but i cant find the camera…what is …

---

## [How to create Macros for Material Functions?](https://forums.unrealengine.com/t/how-to-create-macros-for-material-functions/481471)

<div class="topic-metadata">

**Author:** [@Syrill](https://forums.unrealengine.com/u/Syrill)\
**Replies:** 4\
**Last updated:** [April 6, 2021, 2:11pm UTC](https://forums.unrealengine.com/t/how-to-create-macros-for-material-functions/481471 "2021-04-06T14:11:31Z")

</div>

I wanted to create a macro for a material function, but it seems not possible to call the macro (library) from within a material function. Is there some tutorial available or is this just not possible? Thank you in adva…

---

## [What is Uproperty and how do you properly use it](https://forums.unrealengine.com/t/what-is-uproperty-and-how-do-you-properly-use-it/387861)

<div class="topic-metadata">

**Author:** [@abaker992](https://forums.unrealengine.com/u/abaker992)\
**Replies:** 4\
**Last updated:** [March 21, 2021, 7:31pm UTC](https://forums.unrealengine.com/t/what-is-uproperty-and-how-do-you-properly-use-it/387861 "2021-03-21T19:31:38Z")

</div>

Im doing the the C++ tutorials on the website and im at the do it your self part. I dont know how to use the Uproperty macro and I cant really find any documentation that can help me better understand it, can some one gi…

---

## [Using global shaders within UE - DLL failing to load](https://forums.unrealengine.com/t/using-global-shaders-within-ue-dll-failing-to-load/479038)

<div class="topic-metadata">

**Author:** [@1Black.Snow](https://forums.unrealengine.com/u/1Black.Snow)\
**Replies:** 0\
**Last updated:** [February 19, 2021, 8:12am UTC](https://forums.unrealengine.com/t/using-global-shaders-within-ue-dll-failing-to-load/479038 "2021-02-19T08:12:13Z")

</div>

Hey y’all. I’m struggling to get global shaders working re this article: Adding Global Shaders to Unreal Engine | Unreal Engine Documentation I’m unsure of a couple things: A.) Are the cpp and h files built within the …

---

## [How to create macro in c++?](https://forums.unrealengine.com/t/how-to-create-macro-in-c/477323)

<div class="topic-metadata">

**Author:** [@\_dmm](https://forums.unrealengine.com/u/_dmm)\
**Replies:** 7\
**Last updated:** [January 19, 2021, 1:22am UTC](https://forums.unrealengine.com/t/how-to-create-macro-in-c/477323 "2021-01-19T01:22:41Z")

</div>

Well, I want to return multiplie exec’s but I guess I can do it other way, so thanks for the information. :smiley:

---

## [GENERATED\_BODY error](https://forums.unrealengine.com/t/generated-body-error/466501)

<div class="topic-metadata">

**Author:** [@OkamiDexter](https://forums.unrealengine.com/u/OkamiDexter)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 1:47am UTC](https://forums.unrealengine.com/t/generated-body-error/466501 "2020-06-10T01:47:51Z")

</div>

Is there any way to stop the error popping up for “GENERATED\_BODY” when I need to add an additional #include header. Clicking ‘generate visual studio files’ is a temporary fix but I don’t want to keep doing that every…

---

## [BP methods/macros no longer support passing arguments by reference?](https://forums.unrealengine.com/t/bp-methods-macros-no-longer-support-passing-arguments-by-reference/460684)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6f3f79f9](https://forums.unrealengine.com/u/anonymous_user_6f3f79f9)\
**Replies:** 1\
**Last updated:** [January 19, 2020, 2:18pm UTC](https://forums.unrealengine.com/t/bp-methods-macros-no-longer-support-passing-arguments-by-reference/460684 "2020-01-19T14:18:52Z")

</div>

I’m using 4.24 built from GitHub on my Ubuntu 16.04. It seems I can no longer define a parameter to a method or macro to be passed by reference. All I get is the box for the default value. Methods created with previous…

---

## [Can't use Set wildcards in macros](https://forums.unrealengine.com/t/cant-use-set-wildcards-in-macros/459597)

<div class="topic-metadata">

**Author:** [@broly](https://forums.unrealengine.com/u/broly)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 12:18pm UTC](https://forums.unrealengine.com/t/cant-use-set-wildcards-in-macros/459597 "2019-12-17T12:18:03Z")

</div>

I created the the blueprint macro For Each In Set and tried to use it. I got an compiler errors: The type of Target Array generated from expanding For Each Set is undetermined. Connect something to Length generate…

---

## [Saving Macro/Function, load for use later](https://forums.unrealengine.com/t/saving-macro-function-load-for-use-later/456890)

<div class="topic-metadata">

**Author:** [@Grumblestump](https://forums.unrealengine.com/u/Grumblestump)\
**Replies:** 1\
**Last updated:** [October 14, 2019, 7:34pm UTC](https://forums.unrealengine.com/t/saving-macro-function-load-for-use-later/456890 "2019-10-14T19:34:37Z")

</div>

I have a large number (current is low hundreds but plan is for several thousand) of different macros/functions which all have the same specified input & output but do different operations on the input depending on the in…

---

## [Where is "Make Map" node in c++?](https://forums.unrealengine.com/t/where-is-make-map-node-in-c/456355)

<div class="topic-metadata">

**Author:** [@KazemAkhgary](https://forums.unrealengine.com/u/KazemAkhgary)\
**Replies:** 1\
**Last updated:** [October 4, 2019, 5:20am UTC](https://forums.unrealengine.com/t/where-is-make-map-node-in-c/456355 "2019-10-04T05:20:42Z")

</div>

I am looking for the implementation of “Make Map” node in c++. It’s a very special node since it has two different wildcards. In Macro I can’t have two wildcards with different types. So I want to make a custom node in…

---

## [Unreal Engine 4 Intellisense for Visual Studios 2015](https://forums.unrealengine.com/t/unreal-engine-4-intellisense-for-visual-studios-2015/341626)

<div class="topic-metadata">

**Author:** [@gamebro2222](https://forums.unrealengine.com/u/gamebro2222)\
**Replies:** 5\
**Last updated:** [September 2, 2019, 12:57pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-intellisense-for-visual-studios-2015/341626 "2019-09-02T12:57:08Z")

</div>

I have visual studios 2015 community installed and the engine is up and running just fine except there’s constant red lines stating that it does not identify many unreal engine 4 statements such as GENERATE\_BODY(), UCLAS…

---

## [Passing formatted string to a macro](https://forums.unrealengine.com/t/passing-formatted-string-to-a-macro/436695)

<div class="topic-metadata">

**Author:** [@OmerK](https://forums.unrealengine.com/u/OmerK)\
**Replies:** 4\
**Last updated:** [July 19, 2019, 8:48pm UTC](https://forums.unrealengine.com/t/passing-formatted-string-to-a-macro/436695 "2019-07-19T20:48:51Z")

</div>

hello, I want to be able to write my own logs like this : MY\_LOG(LogDebug, Verbose, (TEXT("Item named %s has spawned"), \*Name.ToString())) and here is my macro: #define MY\_LOG(CategoryName,Verbosity,Message, ...) UE…

---

## [Help set up dialogue system via macros](https://forums.unrealengine.com/t/help-set-up-dialogue-system-via-macros/449986)

<div class="topic-metadata">

**Author:** [@Darth\_Biomech](https://forums.unrealengine.com/u/Darth_Biomech)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 1:31am UTC](https://forums.unrealengine.com/t/help-set-up-dialogue-system-via-macros/449986 "2019-06-02T01:31:33Z")

</div>

In my game character should be ably to use some screens on the level to make plot-important dialogue tree chat conversations. I think I envisioned useful enough chat system that will use macros-based event flow from pres…

---

## [VisibleAnywhere macro doesn't work in nested components](https://forums.unrealengine.com/t/visibleanywhere-macro-doesnt-work-in-nested-components/362792)

<div class="topic-metadata">

**Author:** [@Orfeas\_El](https://forums.unrealengine.com/u/Orfeas_El)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 8:54am UTC](https://forums.unrealengine.com/t/visibleanywhere-macro-doesnt-work-in-nested-components/362792 "2019-05-10T08:54:21Z")

</div>

I have created a custom actor component, named UMyActorComponent and I’ve added the following public property: UPROPERTY(VisibleAnywhere) USpringArmComponent\* Arm1; then, inside the constructor of the component I crea…

---

## [Why are Include/Exclude commands not available in VS?](https://forums.unrealengine.com/t/why-are-include-exclude-commands-not-available-in-vs/448711)

<div class="topic-metadata">

**Author:** [@Jahn.Justin](https://forums.unrealengine.com/u/Jahn.Justin)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 11:47pm UTC](https://forums.unrealengine.com/t/why-are-include-exclude-commands-not-available-in-vs/448711 "2019-05-09T23:47:30Z")

</div>

Why are Include/Exclude commands not available in VS for UE4 project development? Normally I right click on files and include and exclude as I desire, but in UE4 project I have to create preprocessor macros and possibly…

---

## [What are macro textures?](https://forums.unrealengine.com/t/what-are-macro-textures/287040)

<div class="topic-metadata">

**Author:** [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Replies:** 7\
**Last updated:** [April 10, 2019, 1:38pm UTC](https://forums.unrealengine.com/t/what-are-macro-textures/287040 "2019-04-10T13:38:44Z")

</div>

A macro texture is any texture that has the texture coordinate tiling set to be a larger scale than the base textures. Used to break up tiling artifacts when textures are mapped to huge flat surfaces. Usually you would …

---

## [Creating a Macro for Material Workflow](https://forums.unrealengine.com/t/creating-a-macro-for-material-workflow/446682)

<div class="topic-metadata">

**Author:** [@Rolzein](https://forums.unrealengine.com/u/Rolzein)\
**Replies:** 0\
**Last updated:** [April 5, 2019, 3:30pm UTC](https://forums.unrealengine.com/t/creating-a-macro-for-material-workflow/446682 "2019-04-05T15:30:00Z")

</div>

Hey guys - This isn’t actually a really hard question at its core. What is hard about this question is that I don’t know the correct terminology. I’m an 3D artist, and what I’m asking for is usually referred to as run…

[Next page](https://forums.unrealengine.com/tag/macros/368.md?match_all_tags=true&page=1&tags%5B%5D=macros)
