Component properties in details panel

I’m using your proposed solution now (thanks again), and though it works it is not really an ideal solution for my problem.

I would like to create a custom component (in c++) containing one or a few variables (for example an int). I would then like to add this component to any actor-blueprint and be able to change these variables in the details panel without having to add all these construction scripts and variables manually for each blueprint the component is used in.

Any idea if this is somehow possible?