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"

My BP class does not inherit any C++ members or functions

The only difference between this class and ones that are working is that this C++ class seems to have been created in the public/private folder rather than the parent source folder. I can't help but think this is an engine bug. I can provide pics if necessary, but my subclass is definitely not inheriting the stuff it should be, despite the C++ files being a copy/paste of one that is working, but it looks to me like it doesn't work because the files are not in the main source folder, that they were created in public/private for the .h and .cpp respectively. alt text I would think that moving them to the right place would fix this issue, as that's the only difference between one subclass working (an older one) and the one I'm creating right now. But I can move the files but can't seem to get the engine to recognize it's moved. In the content browser it still shows my class in the sub folder.

If any specific images would help please ask, but for now this one shows that it is inheriting from that class and not getting the function to override or the float defined.

Been suffering on this one for a while.

Product Version: UE 4.9
Tags:
more ▼

asked Feb 21 '16 at 02:19 AM in C++ Programming

avatar image

HuntaKiller
165 10 12 19

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

2 answers: sort voted first

I did have Show Inheritied Variables checked.

Switching the build in visual studio from Development to Development Editor solved the problem. I had switched to development when trying to build the project for multiplayer testing.

If you are not building your project for editor apparently you cannot access c++ functions or members through blueprint? or at least not inherited ones anyway, through my experience

more ▼

answered Feb 21 '16 at 08:17 PM

avatar image

HuntaKiller
165 10 12 19

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

Have you got "Show Inherited Variables" ticked?

more ▼

answered Feb 21 '16 at 11:15 AM

avatar image

Bino
269 9 5 13

(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