4.5 Static array cannot be exposed to blueprint

Hi,

It was really nice feature:

and now I got code breaker:

 LogCompile:Error: Static array cannot be exposed to blueprint HatredBaseCharacter.EmotionalsIntervals
 
 UPROPERTY(BlueprintReadWrite, Category = "Pawn")
         float EmotionalsIntervals[EHatredEmotionalState::MAX];

What can I do to fix this ?

Regards

Pierdek

Static arrays will not be supported by blueprints (on Blueprint graph) any time soon. The BlueprintReadWrite tag canot be used.

You can change EmotionalsIntervals into TArray. Or you can add Get and Set functions to access the variable from Blueprint.

Cheers,
M

Thanks you very much, I have removed BlueprintReadWrite and project is compiling fine;0