local function FindSharkHome(inst) if not inst.sharkHome then if TheWorld.components.tigersharker and TheWorld.components.tigersharker.shark_home then inst.sharkHome = TheWorld.components.tigersharker.shark_home else inst.sharkHome = GetClosestInstWithTag("sharkhome", inst, 10000) end end return inst.sharkHomeend