Announcement

Collapse
No announcement yet.

Only 8bit integers editable in Blueprints?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Only 8bit integers editable in Blueprints?

    I am trying to expose an integer variable from my C++ class to Blueprint. It's supposed to be an int16. However, if I use that as a variable type it is readd-only in the Blueprint (even though it's set tu BlueprintReadWrite). I am only able to get it editable by making it uint8 (int8 will get a build error).

    Am I doing something wrong, is that a bug or a feature?

    #2
    In general you should be using int32 if you want to expose an integer to blueprints.

    I believe the uint8 works because of enums, but isn't really intended to be used directly as number field in blueprints.

    Comment

    Working...
    X