Sneaking appears to work just fine. The messageboxbox never shows up.
There is a section in the original script for checks that are done every 20 frames. I tried that last night actually as well and it didn't seem to work either.
Edit:
So it works on a normal companion script. Just not the slaveScript for some reason. Oh well, I can live without my slaves jumping. Time to tweak the timings now!
Edit2:
Okay. So now I can't seem to get my companion to jump a few frames after me. :confused:
This is the plain jump at the same time script.
; FORCED JUMPINGif ( GetCurrentAiPackage == 3 ) if ( Player->GetPCJumping == 1 ) ForceJump set stopJump to 1 elseif ( Player->GetPCJumping == 0 ) if ( stopJump == 1 ) ;companion jumped ClearForceJump ;stop jumping set stopJump to 0 endif endif ;--endif
And this is how I was trying to get a timed jump.
; FORCED JUMPINGif ( GetCurrentAiPackage == 3 ) if ( Player->GetPCJumping == 1 ) set stopJump to 1 elseif ( Player->GetPCJumping == 0 ) if ( stopJump == 2 ) ;companion jumped ClearForceJump ;stop jumping set stopJump to 0 endif endif ;-- if ( stopJump == 1 ) if ( timerJump > 0.5 ) ForceJump set stopJump to 2 else set timerJump to ( timerJump + GetSecondsPassed ) endif endifendif
Final Edit:
Nevermind. I got it to work out fine for my companions after some tweaking.