GetElevatorHeight
- Parameters
-
d destructable
- comment
- patch
1.07
- Source
- Blizzard.j
- return type
integer
- Source code
function GetElevatorHeight takes destructable d returns integer local integer height set height = 1 + R2I(GetDestructableOccluderHeight(d) / bj_CLIFFHEIGHT) if (height < 1) or (height > 3) then set height = 1 endif return height endfunction