- Joined
- Nov 18, 2007
- Messages
- 1,084
I'm just wondering if this part
could be shorter.
dummy is a local unit that's declared before this.
JASS:
if ( ( GetUnitTypeId(dummy) == 'h000' ) ) then
call RemoveUnit( dummy )
elseif ( ( GetUnitTypeId(dummy) == 'h001' ) ) then
call RemoveUnit( dummy )
elseif ( ( GetUnitTypeId(dummy) == 'h002' ) ) then
call RemoveUnit( dummy )
endif
dummy is a local unit that's declared before this.