Download

How to change blueprint parameters on spawn

I have one blueprint character with parameters like color, types of weapons and clothes, etc… How to spawn this character with different parameters? For example I want to spawn one character with blue body and another with yellow body. It is simple when I manually put actor on my level and change parameters in toolbar but how to achieve this with spawn function?

Change all your parameters in Construction Script tab. Please see this documentation for more info.

Construction Script always runs when you place your Blueprint on the level and when you translate it (like move, rotate, scale etc) and finally runs one more time when you press Play or Simulate.