Download

How do I updating actors while in editor?

I’m not sure how to phrase this, but I’ll try my best: how do I go about causing an actor to change, while still in the editor, by changing something in the editor?

For instance, changing the color of a light will cause that property to update in the world, without building the map or going into PIE.

Set whatever property you want to change to EditAnywhere. EditAnywhere means you can select instances of this actor in the world in order to edit its properties on the fly. It’s usually how things like lights are available to edit in level edit time.

There’s a lot more possibilities past that starting point, like overriding PostEditChangeProperty. But for the most basic properties, just instance editing will do what you’re looking for.

-Camille