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"

Bitmask enum in blueprints... possible?

Is it currently possible to use enum values as bitmasks in blueprints?

If not, is there an accepted workaround that people use for setting flags/bits? Or is the feature likely to be implemented soon? It would be very handy for designers to be able to switch (for example) AI senses/behaviours on or off using simple checkboxes on a value rather than call a separate function for each flag.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 13 '15 at 01:51 AM in C++ Programming

avatar image

KeirBlackDelta
81 2 5 15

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

2 answers: sort voted first

UE4 reflection system does not support useing enums or even intigers as flags, but you could try to write your own support using enums in C++. Everything that C++ can be implemented to UE4

If you don't know how to do it, post feature request in feedback forum

more ▼

answered Jul 13 '15 at 03:39 AM

avatar image

Shadowriver
37.3k 936 172 1116

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

answered Dec 16 '16 at 11:10 AM

avatar image

Plosnita
277 5 8 22

(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