returns bone index for a name (-1 if pBoneName doesn't exist)
Используется в EntityPlacementCallback::OnSetup().