Jump to content

Weapon effects


lazyguy

Recommended Posts

Is it possible to apply effects to the victim of a bullet hit or melee attack via scripting? For example, aging the victim and killing it. I tried 'begin onHit' but that affects the weapon itself, not the victim.

 

Also, is it possible to make firing a certain gun not a crime?

 

Thanks in advance.

Link to comment
Share on other sites

I don't know about the second question, but for the first one you can use a Script Effect critical.

 

Basically, you put the weapon critical chance to 100%, then you create a spell with a Script Effect that has the effect you want on the target. Select the spell in the weapon stats as the critical effect and it should work. If you select the On Death check, the script effect will trigger on the death of the target. Have a look at the Alien Blaster weapon to have an idea how to do.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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