Little Help with Push script?

Post » Fri Jan 28, 2011 7:46 pm

Hi,

I am using a push spell with the following script:

***********************************

scn pushscript

ref me

Begin ScriptEffectStart

set me to getself
me.pushactoraway me 100
End

*************************************

The problem is that the actors always go straight up in the air. Is there a way to blow them down the street or in a cannonball-like arc instead of just straight up?

thanks,

Thaellar
User avatar
FITTAS
 
Posts: 3381
Joined: Sat Jan 13, 2007 4:53 pm

Post » Sat Jan 29, 2011 6:42 am

I found the answer..replying as it might help another modder. The issue was that the pusher and the target were the same. Here is new script that works better:


scn pushscript

ref targetref

Begin ScriptEffectStart

set targetref to getself
player.pushactoraway targetref 1000
End
User avatar
Miragel Ginza
 
Posts: 3502
Joined: Thu Dec 21, 2006 6:19 am


Return to IV - Oblivion