vector(_rotate,TmpVector1,SubVar1) //This must be done after bulb because if you change direction in air, it should continue in the direction you were going before
vector(_copyX,TmpVector1,SubVar1)
vector(_copyZ,TmpVector1,SubVar2)
move(SubVar1,0,SubVar2)
}
}
SubRoutine(Sub_CheckClimbUp,const(ClimbAction),const(MinHeight),float(ColAngleCorrectNeeded),float(CheckHeight),const(MoveForward)) //Check for grab onto ledge
{
//MinHeight: Minimum height above rootbone when it grabs