Talk:Modding/Cutscene Commands/@comment-36569758-20181024170633/@comment-36885746-20181024185252

Try this: if:ObjectNearOtherObject:Student_0 (FIRST Student):Student_0 (SECOND Student):3

jmp:NotNear jmp:IsNear

label:IsNear

RefPathfinding:Student_0 (second stud):Student_0 (first)

jmp:loop

label:NotNear

RefPathfinding:Student_0 (first):Student_0 (second)

jmp:loop