Page 2 of 2

Re: I now notice why?/how? you love maths... but...

Posted: Fri Dec 18, 2009 12:51 am
by manstie
samtre wrote:How about Unit - Move Unit instantly and Face Angle?
this might be dumb.........
you can't use any abilities though.
You may as well just do Move Unit instantly to Point and Unit face angle instantly

And have you looked at AOIE4 yet? Try comparing to AOIE1 too.

Re: I now notice why?/how? you love maths... but...

Posted: Sat Dec 19, 2009 7:48 am
by 3ICE
Here are some of the functions you mentioned (I don't know why) and their JASS equivalents:

t_uni Unit - Move Unit instantly to Point

Code: Select all

native SetUnitPositionLoc(Unit,Point)
t_uni Unit - Make Unit face 0.00 over 0.00 seconds

Code: Select all

native SetUnitFacingTimed(Unit,0.00,0)
t_uni Unit - Move Unit instantly to Point, facing 0.00 degrees

Code: Select all

SetUnitPositionLocFacingBJ(Unit,Point,0.00)

Code: Select all

function SetUnitPositionLocFacingBJ takes unit whichUnit, location loc, real facing returns nothing
    call SetUnitPositionLoc(whichUnit, loc)
    call SetUnitFacing(whichUnit, facing)
endfunction

Re: I now notice why?/how? you love maths... but...

Posted: Wed Dec 23, 2009 12:36 am
by manstie
It probably wont work because the time caps at however long the unit normally takes to turn around, but you should try using Facing point over time.

Re: I now notice why?/how? you love maths... but...

Posted: Wed Dec 23, 2009 1:05 am
by 3ICE
Yet another blind shot...