I’ve made a custom class for an object via Python. I can load the object perfectly with ‘Execute Python Script’, and I can transfer each of it’s properties (name, age, etc) onto the next Py script.
Problem is, I have to transfer each property via node input/output rather than just passing the object, because it says the type of the variable is undetermined.
This is, in my opinion, where the execute python script and execute python command nodes start to limit you.
To get around these limitations, I created a Python BPFunctionLibrary. Allows you to create your own BP nodes with Python, which gives you a lot more control.
You have to import your script from the Python command line or in an init_unreal.py file.
Also, you’ll need to restart the engine each time you make modifications to your script as well, so it’s best to test as much as you can in the command line.