Desolatesins Posted July 10, 2009 Share Posted July 10, 2009 Ok, I want to make a gun that essentially does no damage to the target, how can I do this? If I make a weapon do 0 damage any added effects on that weapon (like a dartgun) does not get applied. I am making a weapon that is supposed to knockout a victim after a certain length of time, and the idea is they have no idea they have been shot with the dart (it is a painless needle, and minutes later they collapse, paralyzed). The problem is, I have to cause damage to the target (at least 1 damage) for the script to have effect. If I set the target to IgnoreCrime 1 before I shoot him, the damage is fine, but it's not a smooth fix, as I don't know how to automatically a apply ignoreCrime on the target before getting shot, does anyone know what I could use in order to make my weapon not make them go hostile when they get shot, but essentially ignore the shot? Link to comment Share on other sites More sharing options...
Desolatesins Posted July 10, 2009 Author Share Posted July 10, 2009 By the way, this is my fix for now..any better suggestions? ScriptName DiscretionScript Float TimerShort DoOnce Begin ScriptEffectStart Set Timer to 1.4 Set DoOnce to 0End Begin ScriptEffectUpdateIf DoOnce == 0 If Timer <= 0 Player.SCAOnActor Set DoOnce to 1 EndIf Set Timer to (Timer - ScriptEffectElapsedSeconds ) EndIfEnd Link to comment Share on other sites More sharing options...
Desolatesins Posted July 14, 2009 Author Share Posted July 14, 2009 bump Link to comment Share on other sites More sharing options...
Recommended Posts