How do I modify actors in a level from an editor plugin?

Hi,

I’m working on an editor plugin to automate setting properties of certain actor’s components in the current level to unique values.

In the editor you can set starting values even for private properties, so there must be a different way to do this than just getting the actor and setting its variable to the desired value.

I’ve been looking through the editor source for a while now, but I must be missing something.

Could anyone point me into the right direction?

Can you not just get all actors of a class then loop through them?

Yeah, but I’m not sure how to do the actual setting of the values. I assume setting a properties starting value on editor level works differently then during gameplay.