cant do it like that alone, because when you toss it at level models with low poly counts, such as a wall... the effect will fail, unless you check the type of entity and use two different attachment methods, anyways:

vec_for_vertex(my.x,you,VERTEXNUMBER);

read C_MOVE if you want to see how to get the vertex number, i dont have enough time to go into this now.. sorry