#For starts, a single player character

1 messages · Page 1 of 1 (latest)

thorn furnace
#

Thanks, @marsh sequoia. The variables in the BP are already marked as InstanceEditable.

#

My multiple "Player" Blueprints were just an experiment in my learning.

marsh sequoia
#

That's odd. So...

The properties are marked instance editable in the component.

You put these component inside the PlayerBP and select it and look at it's details panel. You don't see the property there to edit it?

thorn furnace
marsh sequoia
#

Ah. Child Actor Components. You can't do this with them AFAIK. They are generally regarded as bad to use by a lot of people. I use them, but only for visuals and no real logic outside of their own BP.

thorn furnace
#

Ah, thanks. So this sort of composition is not really a thing then in Unreal? Could you possibly recommend any examples or documentation that might explain an "Unreal Way" to do something like this? 🙂

marsh sequoia
#

In general if you need actors attached to actors, it's usually better to just spawn and attach them. Beginplay, or some sort of customization component that handles attaching stuff to it's owner.

You might be able to do this the way you're doing it now, except that you would set your component's properties in it's owner's beginplay or something similar.

Child Actor Components are a voodoo thing to a lot of people, but their reputation is largely bad because they serialize into maps badly. If you're not placing them on an actor that is saved into the map, they usually work fine.