devinpatterson Posted March 16, 2011 Share Posted March 16, 2011 I'v put together a protectron for crowd control and wanted to arm him with a non lethal weapon. So I just changed his hand laser to 1dam(1crit) and added the cattle prod script to it; SCN ProtectronHandTaser1HPscript ; Inflicts Fatigue damage on the target to temporarily knock it out.; JES Begin OnHit Ref CattleProdTarget Set CattleProdTarget to GetOwnerLastTarget If (CattleProdTarget != PlayerRef) CattleProdTarget.damageav Fatigue 60 Else CattleProdTarget.damageav Health 10 EndIf End and attached it to the weapon. added it to a couple of form lists (energy, embedded) and added the tesla gun effect in the art tab (both blueimpactdata set & projectile). But when I playtest it the tesla is doing it's normal substantial damage :dry: Any pointers/advice? Link to comment Share on other sites More sharing options...
Dandys Posted March 16, 2011 Share Posted March 16, 2011 Begin ScriptEffectStart if getisreference player != 1 damageav Fatigue 50 Else; what you want it to do to the player EndIf End Link to comment Share on other sites More sharing options...
Dandys Posted March 16, 2011 Share Posted March 16, 2011 (edited) for example, Begin ScriptEffectStart if getisreference player != 1 damageav Fatigue 50 Else pushawayactor player 1 EndIf End Edited March 16, 2011 by Dandys Link to comment Share on other sites More sharing options...
devinpatterson Posted March 17, 2011 Author Share Posted March 17, 2011 Nice I'm going to give that a shot thank you Dandys Link to comment Share on other sites More sharing options...
Recommended Posts