Jump to content

How to make a Dagger that Disintegrates enemies on death


Arkadious4028

Recommended Posts

Hey everyone,

I've been trying to make a dagger for a mod that causes enemies you kill with it to disintegrate upon death. Problem is that I'm kinda terrible when it comes to papyrus scripting and target conditions.

First I tried duplicating one of the disintegrate magic effects, changing the casting type and delivery to "Fire and Forget" and "Contact".

Since I wanted the magic effect to not have to deal damage to activate, I changed the archetype to script and added a target condition "IsActor = 1" that runs on subject.

I left the Papyrus Script section alone, using the settings for MagicAttachAshPileOnDeath that were already there, and removed the shock damage keyword and resist value as I only wanted it to deal normal damage.

Then, I put it onto an enchantment and set the enchantment to the same casting type and delivery as the magic effect, setting the magnitude to zero.

Afterwards, I set the enchantment on the weapon and gave it infinite charges.

 

Spawned an enemy and killed it, but it didn't disintegrate into an ash pile. Also tested by changing the archetype to value modifier and changing the enchantment magnitude to 1. Also didn't work.

 

Anything that I did wrong and how should I go about doing this?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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