Thread: Vector
View Single Post
Old 10-24-2011, 04:38 PM   #50
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

You can already do this with the following two lines, I don't think that a wrapper for this is really needed:
Collapse JASS:
local vector v = vector.createTerrainPoint( GetUnitX(whichUnit), GetUnitY(whichUnit) )
set v.z = v.z + GetUnitFlyHeight(whichUnit) + heightOffset
__________________
Anitarf is offline   Reply With Quote