I spent far longer on programming the hook mechanic than anything else :) The max distance you can hook is based on the health !