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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Variable categories made in C++ can not be used in Blueprint?

Hi,

I'm have added some properties (variables) to my C++ class under the category name 'Bolt'. I derived a BP class from that C++ class. Then I added some other variables to the BP class. I would like to place those under the Bolt category as well, but it won't let me. If I set the category to 'Bolt' for a variable in BP, it just resets to 'default'. If I choose any other name, it works fine.

So apparently there is some conflict between categories in C++ and in BP... does anyone know how to deal with this?

Or should this be a bug report?

Product Version: UE 4.9
Tags:
more ▼

asked Oct 14 '15 at 01:45 PM in Blueprint Scripting

avatar image

BramV
391 36 36 79

avatar image Doug E ♦♦ STAFF Oct 14 '15 at 02:33 PM

Hey BramV-

I'm not seeing the behavior you're describing on my end. I created a variable in my actor class header:

 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Unique)
 float Num;

After making a blueprint of this class I added a variable through the editor and was able to use the drop down menu to set its Category to Unique. Could you list the steps you took so that I can make sure my setup matches what you're doing?

Cheers

Doug Wilson

avatar image BramV Oct 16 '15 at 10:05 AM

I cannot seem to reproduce it in other projects. Also when I go back from the BP editor to the main editor, and click the object of the BP-class, I do see all variables under the same category, so seems like under the hood it did change it correctly, only the BP editor was giving me problems.

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

1 answer: sort voted first

Hey BramV-

It sounds as though a restart of the editor may have fixed the problem for you? If that is the case I will mark this post as resolved for tracking purposes. If you are still having issues with your variable categories feel free to comment back here to reopen the post for further investigation.

Cheers

Doug Wilson

more ▼

answered Oct 16 '15 at 01:15 PM

(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