Download

Any way to use blueprints in the editor to change actor default values?

I want to make some small tools to help me with the development and this would be great help

A starting point: https://docs.unrealengine.com/latest/INT/API/Runtime/CoreUObject/UObject/UClass/GetDefaultObject/2/index.html

May or may not be useful depending on what you’re trying to do exactly.

thanks, I know some c#, might start studying c++

Ah, sorry, got the BP/CPP bits mismatched in my head. For BP, there’s https://docs.unrealengine.com/latest/INT/BlueprintAPI/Class/GetClassDefaults/index.html which allows you to read the default values, but I’m not sure if there’s any way to change them.

Changing default class values at runtime is not recommended, and can lead to several issues (according to what I was told by someone else on the board). Store the data elsewhere and make the changes you need upon spawning (in the constructor)

I mean, why not just use child actors with various configurations?