Jump to content

Fatigue weapons not working


devinpatterson

Recommended Posts

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

  • Recently Browsing   0 members

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