Actor location is location, not a vector. You can think about actor location as vector from [0,0,0] to location.
Second thing is that dot product requires NORMALIZED vectors as input.
Result of dot product is cosine between 2 vectors, and you feed that as Y.