How much character made distance?

Hello with what function i can make (how much my character make distance like 100 metres 101,102,103,104,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120 metres

This can be done in a number of different ways, though the method I would recommend is create an int inside of your player that is given a +1 on movement in a direction. Another option if you are trying to determine distance from an initial point that is constant is to create a blueprint that contains the point, and then run either a looping timer or a tick function that checks the distance between the point and the player, these will be in cm as unreal units are in cm. From there it is a simple conversion from cm to m.

I try do something like this but i try make 1 second= 1 meter (i make function in (player) traveled int and add + int)

In begin play i add set timer 1 sec cast to run add function traveled distance and add total distance in HUD but its dosnt work. I thionk i made some wrong with timmer

https://www…com/watch?v=VJOMdHzp3b8&index=7&list=PLZlv_N0_O1gbY4FN8pZuEPV