Use the 'c_move(...)' function. To move the entity in the direction it faces you use the 'relative distance' vector rather than the 'absolute distance' vector.
Also, 'temp' is a temporary vector you can use in functions.
But as Dakilla states, this is all in the manual and workshops.