Jump to content

AoE spells that only hit Hostiles


wazwolf

Recommended Posts

I want to make 2 explosion spells that only hit hostiles, to stick on a follower. Everything works except that I can't figure out how to make the spells not hit me when the follower is blowing stuff up.

I simply pulled the scripts I needed from the CK, to add them to the new spells I made. It was all just patchwork stuff of already existing items.

I suspect I need to alter Explosions somehow with a script, or alter these 2 spells to be like Explosions but without the friendly-fire aspect.

Anyone able to help me keep friendly-fire intact with the game, and only remove it from my selected spells?

Link to comment
Share on other sites

  • 2 weeks later...

Go to the Magic Effect that's doing damage to the player and add a condition: in the drop-down menu on the left, select "GetIsID", click the box next to it and select "Player" then on the far right select "=0".

 

Then, go to the Explosion in question and make sure that it is set to not hit the player.

Thank you!

 

I haven't tested it yet. I pulled up other spell effects to compare and contrast. I see now how to make the player and companions not get hit. But do you know what happens if I change the 'Run On: Subject' part to either 'Player' or 'Target' or 'Combat Target'? Just curious about those, if they'll allow me more customization in other spells, or will make the effects fall apart.

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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