Edit : Fixed
"player.GetMainCharacterIndex ()" comes before x and y in the code I wrote.Quote:
chr.MoveToDestPosition usually requires 3 args: characterVID, destX and destY. Try passing player.GetMainCharacterIndex() before x and y and see if that works