- Joined
- Jul 2, 2005
- Messages
- 60
Hi folks,
well ... i spent my whole day figuring out the problem ... changing all of the code etc... and well... it needs to be that :
(unit is not null.. and the real value is correct :/
please give me some suggestions ^^
cheers,
Empiredeath
well ... i spent my whole day figuring out the problem ... changing all of the code etc... and well... it needs to be that :
(unit is not null.. and the real value is correct :/
Code:
private function handleChannel takes nothing returns nothing
local unit u = GetEnumUnit()
local real height_new = GetUnitFlyHeight(u) + ((arrow_height/spell_channeltime)*timer_interval)
call UnitAllowFly(u)
call SetUnitFlyHeight(u,height_new,0.01)
endfunction
please give me some suggestions ^^
cheers,
Empiredeath