Different properties per instance

Hello ! I just started on Unreal Engine4.

I am instancing a static mesh and would like to have a random float value named ''speed" for each of my instances. The speed variable is used in the blueprint later on.

For now, I have tried setting the speed variable in my construction script and in my blueprint but I always end up with each instances having the same speed.

Thanks !

rubanmauve, you shouldn’t change the speed variable in your construction script or in your blueprint’s event graph. Instead, when you add each blueprint instance to your level you should see your speed variable exposed in the Details Panel of the Level Editor. This is where you should assign the values that are unique to each instance. If you don’t see your speed variable listed, go back into your blueprint and make sure you’ve set the speed variable to “editable”. You’ll know you’ve done this successfully when you see an open eye icon next to your variable name in the Variables Panel in the Blueprint Editor.