[Request] Enum variable

Hey ,

Thanks for the question! This functionality is already available to you! In any blueprint, you can right-click in the MyBlueprint tab and select Create Enum Asset:

createenum.jpg

Once created, you can name it and add Enumerators to it in the Details tab of the Blueprint editor. Once the asset is created (and it is actually an asset created in the Content Browser) you can create a new variable and set its type to your Enum ( MyPicker in this screenshot):

populateenum.jpg

You can set your new variable to be editable, which will give you a drop-down box in the Details tab of your placed blueprint. In your Blueprint’s ConstructionScript you can drag in your variable and drag off of it to create a Switch On for your Enum, which will let you execute whatever additional script you want based on the value selected in the drop-down:

enumconsscript.jpg

Thanks!