How can I achieve this (expose object's variables inside array)

So I’m in the process of making a interaction system. and im having a problem where i have event reader which is gonna go through all action events (UObjects) in an array.

But after creating the array to store the action events classes, their variables don’t get exposed, why is that?

Action Event Array (Not allowing me to edit the variables):

ActionEvent Blueprint with one of its properties open:

Hi!

Can you show the code of the UPROPERTY for this array please?

I’m doing it through bp
cuz when i tried using c++ i couldn’t find my action event object

Got it, thanks!

Do I understand you correctly - you want to be able to edit InDelay and OutDelay properties when adding array elements?

yeah, but more like in the lines of being able to edit variables from all inherited classes (inherited from ActionEvent) when inside of the array

Managed to make it work through c++.

Had to Include this in the ActionEvent class to be able to expose it:

And this is how i declared it:

:slight_smile:

Edit: Doesn’t work BP Only, it needs C++

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.