Struct alternative?

Yeah it’s true it can be made to work with blueprints. And again it works in simple cases where you can just store an integer value so you know what index it’s stored in.

But when it get’s even slightly more complex and you also need a reference to the object that contains the struct (if it’s stored in another object):

  1. You gotta store a reference to the object containing your struct(s)
  2. You gotta store an integer that points to the index of the struct in the array
  3. Etc.
  4. You gotta write several blueprint nodes EVERY TIME (hopefully it can be macro-ed) to retrieve the values.
  5. You probably end up writing a struct to retrieve your struct. It will contain the variables mentioned in step 1 to 3.

So yes it is technically possible without using C++ okay. But it’s so extremely dirty and such a massive pain to maintain later on… I don’t see it work. I mean, you may even end up writing extra structs just so you can retrieve the struct you want because… no pass by reference… I believe this is what Asusralis meant.

Because I can not believe that everyone jumps through so many loops to get it to work, either everyone is using C++ or there must be another solution that we are not aware of.