- Joined
- May 4, 2007
- Messages
- 2,260
Hi guys I want to move a unit forward with a timer, however I have problems with the formula ... can some one help me and tell me what is wrong?
PS: data.bomber is a bomber, the unit I want to move
PS: data.bomber is a bomber, the unit I want to move
JASS:
call SetUnitPosition(data.bomber, GetUnitX(data.bomber)* Cos(GetUnitFacing(data.bomber)) + (6 * Cos(GetUnitFacing(data.bomber))), GetUnitY(data.bomber)*Sin(GetUnitFacing(data.bomber)) + (6 * Sin(GetUnitFacing(data.bomber))))