Jump to content

[LE] Script to cast a magic effect when player is hit


dber1962

Recommended Posts

trying to make an enchantment that casts a spell or effect on the attacker when they hit the player, pretty sure will need a script to do this but I know almost nothing about scripting.

thinking spells like flames or frostbite, etc.

Edited by dber1962
Link to comment
Share on other sites

In order to do this you don't only need a script, but you also need a weapon mesh to have a "Projectile Node".

All Skyrim weapons except stuff don't have "Projectile Nodes", so you will need to create a custom weapon that has a "Projectile Node".


The way that some weapon mods or the "Bloodskall" sword do this is by using the player as the casting source and not the weapon.

This has the disadvantage that the spell will always be casted in front of the player and it can not track / target the enemy.

It can be done, target / track the target, but this requires aditional scripting and a different set up.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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