Need a bit of help thinking in UE-ese
I need a “command list” which is a list of commands to be fed to an AI squad or individual. So I’m thinking that what I’d need is a TArray, that has references to varying classes.
What I’m after, is something like the perception components “sensesconfig” setup. Where you can add different types of classes that are inherited from the same base class and edit them as individual instances.
The problem is that sensesconfig is EditDefaultsOnly and I need the same kind of thing to work on Actors that are setup in the level, not archetypes stored as assets.
So I guess this is a multipronged questionette: 1) How do you get something like sensesconfig of perceptioncomponent to work with similar editing properties but on instances dragged into a world and 2) How do you associate the derived classes with the base class in such a way that the dropdown shows the derived classes properly?
I’m guessing its some specifier-fu in the UPROPERTY declaration if anything.
Anyone care to comment?