Download

Can't change a c++ declared variable for an attached actor from another actor in blueprint

Hey there !

I have an actor that is attached to another at beginplay, here I have an overlap event where I want to modify another actor’s variable that is declared in c++, but it does not modify the value.

variable declared this way:


UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Event)
bool needevent;

Thank you very much if you can help me !