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

The perfect one step solution for creating Ice/Sliding Mazes in both Reign of Chaos and The Frozen Throne. It is the only decent system around and it even works in RoC, is lagfree, perfectly optimized, fast and reliable. The included TerrainKill feature frees you from the tedious task of creating a thousand kill-regions.
User avatar
manstie
Posts: 278
Joined: Wed Jun 17, 2009 9:27 am
Account: manstie
Location: Perth, Australia
Contact:

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

Unread post 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.
Image

User avatar
3ICE
Admin
Posts: 2520
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

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

Unread post 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
ImageImageImageImageImage
Image
ImageImage

User avatar
manstie
Posts: 278
Joined: Wed Jun 17, 2009 9:27 am
Account: manstie
Location: Perth, Australia
Contact:

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

Unread post 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.
Image

User avatar
3ICE
Admin
Posts: 2520
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

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

Unread post by 3ICE »

Yet another blind shot...
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests