I told you how to do it. Did you try it?
If you want tilt to be used as well you just add in the tilt component:
c_move(my, nullvector, vec_rotate(speed, vector(my.pan, my.tilt, 0)), IGNORE_PASSABLE|GLIDE);
If you want to base it all on a different direction entirely (call it newDir, for example):
c_move(my, nullvector, vec_rotate(speed, newDir), IGNORE_PASSABLE|GLIDE);
newDir would be an ANGLE that points in the direction you want the entity to pretend it is facing when moving.
Jibb