Download

Get Distance To Function

Hey guys, I’m trying to follow this Tutorial but I’m stuck https://www.youtube.com/watch?v=xoyjc6lr8tU&list=PL2G_ecHWhZBmGVGFWqQJUcgU_KOYJ6ndU&index=3#t=2.019958
I’m using UE4 4.15 and can’t find the Get Distance To Function. Capture.JPG
I tried making my own but don’t know how to change the Target Is 8d4606493b3b3e8c71c6e7445b195329765a7954.jpeg
I don’t know where to go from here. Thank You in advance

Get the Actor Location of both AI and Player and subtract them, then get the Vector Length.

a9eebe83252dc67cbc227daee9d7d6e70f80b9e8.png

Drag a pin from you AI Character node and you can create Get Distance To node.