Macro and Function libraries question

I was using a Macro Library (important: its native class is Actor) and inside a Macro of that Macro library, it had a pure function i created in a Function library. Everything correct here.

But now i want to convert that Macro Library native class to Object. Im doing it manually (completely new Macro, just copying pasting everything), and when i wanted to copy paste that Function from the Function library, it says “one or more functions could not be pasted”. I tried to just call it manually. It doesnt pop up. Actually it seems I cant use ANY function from my Function libraries. Whats the reason? You cant use any function in a Object native class Macro Library or what? I dont think it makes too much sense, or maybe im missing a silly thing?

1 Like

It seems the reason is indeed that the parent class of the macro library is Object instead of Actor. Perhaps you could convert your pure function into a macro instead?

2 Likes

Its better as a pure function. I will just keep using the Actor-Macro library, but i was just wondering why is not possible to put the function into the Object-Macro, life would be easier. I need to use a Macro for an Actor and a AnimBP and i have to copy and paste the same Macro on 2 Macro libraries.

1 Like