Jump to content

Script Problem


krigulv

Recommended Posts

Ok, so I've been trying to get this script down. The purpose of the script is for shotguns to knock down a target if it is within a certain range.

 

This is the script I placed on 12ga ammo Impact Script:

 

scn ShotgunKnockdown

ref Shootee

Begin ScriptEffectStart

If player.GetDistance Shootee < 500
set Shootee to GetSelf
player.pushactoraway Shootee 10

EndIf

End

 

 

Now, here's the issue: the script works just fine at first. It knocks em way too far, but that's just for testing. Then after a few kills, it just stops working. Even when I quit and play again, it's still not working.

 

Anyone know the issue? Is there a way I can get it more stable?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...