- Joined
- Sep 30, 2009
- Messages
- 698
JASS:
private function SpawnInfernals takes nothing returns nothing
call SetUnitOwner(CASTER_DUMMY, Player(12), false)
call UnitAddAbility(CASTER_DUMMY, 'AUin')
call IssuePointOrderById(CASTER_DUMMY, 852224, -150., 2300.)
call IssuePointOrderById(CASTER_DUMMY, 852224, -2700., 420.)
call IssuePointOrderById(CASTER_DUMMY, 852224, 1000., -6000.)
call IssuePointOrderById(CASTER_DUMMY, 852224, -3000., 2200.)
call IssuePointOrderById(CASTER_DUMMY, 852224, -2200., 4100.)
call IssuePointOrderById(CASTER_DUMMY, 852224, 4500., 4000.)
call UnitRemoveAbility(CASTER_DUMMY, 'AUin')
call SetUnitOwner(CASTER_DUMMY, Player(15), false)
endfunction
private function init takes nothing returns nothing
set CASTER_DUMMY = CreateUnit(Player(15), 'hdum',0.,0.,0.)
call UnitRemoveAbility(CASTER_DUMMY, 'amov')
endfunction
does excactly nothin for me D: anyone find the problem? + rep of course
(the function is called, the dummy exists, the man cost and cooldown are zero... btw)