manofsteel
New Member
- Reaction score
- 36
JASS:
call CreateDestructableZ(...)
How do I use it? Like setting the Z of another unit + 250.
Tried something like:
JASS:
call CreateDestructableXYZ( 039;OTip039;, x, y, z )
But that dosen't work.
Thanks.
call CreateDestructableZ(...)
call CreateDestructableXYZ( 039;OTip039;, x, y, z )
local real z = GetUnitFlyHeight(u) + GetLocationZ(GetUnitLoc(u)) + 250
call CreateDestructableZ(039;OTip039;, GetUnitX(u), GetUnitY(u), z, facingReal, scaleReal, variationInteger)