Korodic Posted March 8, 2012 Share Posted March 8, 2012 Event OnTriggerEnter(ObjectReference akActionRef) Debug.Trace(akActionRef + " just entered us!") ;if (akActionRef==Game.GetPlayer()) akActionRef.ApplyHavokImpulse(60.0, 0.0, 0.0, 100000) ; Throw the player backwards ;endif EndEvent Event OnTrigger(ObjectReference akActionRef) Debug.Trace(akActionRef + " just hit us!") ;if (akActionRef==Game.GetPlayer()) akActionRef.ApplyHavokImpulse(60.0, 0.0, 0.0, 10000000000) ; Throw the player backwards ;endif EndEvent So this does nothing currently when walking into the trigger. Any suggestions? I know the values are ridiculous but apparently 10,000 throws around a weapon and I tried going slightly higher but still no effect. I know it is getting there because in my latest version I use a message as a quick debug. Any ideas? Or any ideas how I can achieve the same effect and throw the player backwards like they just got fus-ro-dah'd? Link to comment Share on other sites More sharing options...
Korodic Posted March 8, 2012 Author Share Posted March 8, 2012 nevermind apparently havok impulse will not work in that way and I found something else to work the way I want. Link to comment Share on other sites More sharing options...
Recommended Posts