Doom-Angel
Jass User (Just started using NewGen)
- Reaction score
- 167
JASS:
call SetUnitTurnSpeed(u,99999)
if (udg_TurnKey == 1) then //Left
call SetUnitPositionLoc(u,loc)
call SetUnitFacing(u,face+5)
elseif (udg_TurnKey == 2) then //Right
call SetUnitPositionLoc(u,loc)
call SetUnitFacing(u,face-5)
endif
set x = GetLocationX(loc) + 30 * Cos(face * bj_DEGTORAD)
set y = GetLocationY(loc) + 30 * Sin(face * bj_DEGTORAD)
call IssuePointOrder(u,"move",x,y)
as u see i tried increasing turn speed and setting unit position and still the unit won't change it's facing.....
why doesn't it change? :banghead:
thanks in advance :thup: