x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cannot call Macro Library's macro in Actor Component's BP

I made a blueprint macro library and a macro, sat GetTestValue().

When I try to call it in an Actor Component derived class's event graph, I cant find GetTestValue().

But when I try to call it in an Actor derived class's event graph, the GetTestValue() successfully popped out.

Product Version: UE 4.9
Tags:
more ▼

asked Nov 19 '15 at 09:24 AM in Bug Reports

avatar image

marsonmao
225 8 17 25

avatar image marsonmao Nov 19 '15 at 09:25 AM

cannot attach image right now, not sure why...anyway I hope the text description is enough

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi marsonmao,

Is your macro library based on Actor? The Actor Component isn't derived from Actor, so it can't access any macros from a macro library based on Actor. You'll need to make sure your macro library is based on Actor Component, or Object, for this to work.

more ▼

answered Nov 20 '15 at 08:48 PM

avatar image marsonmao Nov 23 '15 at 02:27 AM

Yes it is based on Actor, and yes I tried to base on Object then it works! Thanks for the quick and correct answer!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Perfect thanks for this.

more ▼

answered Mar 16 '19 at 09:21 AM

avatar image

MrSofaNinja
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question