entity_get_vector(id,EV_VEC_origin,CheckPoint[id]); entity_set_vector(id,EV_VEC_origin,LastCheckPoint[id]);