Probably asked before, but I can't find it...Player stuck in

Post » Wed Jun 20, 2012 2:07 am

OK, my search-fu is incredibly weak, and I'm sure this has been asked somewhere before, but I made a spell that knocks the character around quite a bit with the push actor away function, and after a few knockbacks, my character stops trying to get up after he lands.

When the effect finishes, is there a quick and dirty command that will force the players' character to start moving again if it gets stuck in such a state? I'd prefer something that starts him animating again rather than something that causes him to "Blink to normal"
User avatar
Manuel rivera
 
Posts: 3395
Joined: Mon Sep 10, 2007 4:12 pm

Post » Tue Jun 19, 2012 11:19 pm

No wonders. After reading that you gave the player 50000 hp to survive your cannon spells, I wouldn't want to get up to be pushed more neither xD

Sometimes I got stuck after a few translations and had to use the StopTranslation thing to get back to normal. I have never got stuck with pushactoraway, but I would try this :

setMotionType(Motion_Dynamic, TRUE)Self.ApplyHavokImpulse(0, 0, 1, 5)
User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am

Post » Tue Jun 19, 2012 6:30 pm

HavokImpulses don't work on the player...I was trying to use those when I first tried to do the effect, and they had no effect at all, thus my switch to using PushActorAway()

And I switched from the +50K health to toggling on invulnerability and Essential while the player is still bouncing around. But when it stops and turns them both off, the toon just lies there (I can go into my inventory and drop stuff, by the way, so I know I'm still "alive")
User avatar
quinnnn
 
Posts: 3503
Joined: Sat Mar 03, 2007 1:11 pm

Post » Wed Jun 20, 2012 1:06 am

Have you tried giving it a few minutes?
User avatar
brandon frier
 
Posts: 3422
Joined: Wed Oct 17, 2007 8:47 pm


Return to V - Skyrim