Oops - my bad - your right on th vx, vy ..
if you put these lines in first ...
if you put these lines in first ...
function MYaligntoVector( entity, vx#, vy#, axis = 1, rate# = 1 ) tformvector vx, vy, 0, 0, entity if tformedx()=0 and tformedy() < 0 turnentity 0,0,-.0001 aligntovector entity, vx, vy, 0, axis, rate# end function