EvilCleric:
1 - create the default shape of the boundary (make sure it has collision):
](filedata/fetch?id=1808868&d=1599454709)
2 - create a static mesh component bp (named it for example Bound), add the shape and 2 variables (in , *out *- check step 4 for why):
](filedata/fetch?id=1808869&d=1599454756)
Also check to hide the mesh where in game and set the collisions:
](filedata/fetch?id=1808873&d=1599455525)
3 - create the item bp and a variable Value (this will contain the current field value). The center contains the item and then add as many Bound components as areas you need (in this case only 3):
](filedata/fetch?id=1808870&d=1599454798)
4 - set the values of *in *and *out *of each Bound component. These are the values of the field inside and outside of that area:
](filedata/fetch?id=1808871&d=1599454952)
5 - bind the overlaps events for all areas to set *value *to the respective *in *or *out *values:
](filedata/fetch?id=1808872&d=1599454962)
Notes: I recommend the following to simplify and facilitate all this:
use the constructor of the Item BP to automate its creation - where the minimum inputs required would be the number of areas, the default meshes and scales;
use Get Children Component and loops to bind the events;
remove the *out *variable - there is no need for it.
Thank you for putting that in detail.
I have a result, but unsatisfactory :o
In my “installation” the values decrease or increase from one to the other pat (50=>5, 5=>0). I would have liked it to flow more regularly (1=>2=>3=>4=>5 …).
Moreover, entry and exit are not regular.
](filedata/fetch?id=1809222&d=1599531131)
I went through a widget, but maybe you have another solution?
I’m starting to see what’s doable with “get children,” it’s complex…