Jump to content

Help with script for custom weapon I want to make.


Durai

Recommended Posts

So long story short, I play Guild Wars 2 every so often, and think adding scepters to Skyrim would be fun. Unfortunately I can't seem to get a script down for doing it. All I would need is for a spell to cast once the player swings their weapon, but I don't know if I need to attach the script to the weapon itself, create an enchantment on the weapon, or create an Alias linked to the weapon. If anyone can help I'd appreciate it. Here's what I've go so far:

 

 

  Reveal hidden contents

 

Link to comment
Share on other sites

It should be working properly. I assume your property is filled and it is a spell that SHOULD be cast on the weapon itself? Because if you attach this script to your weapon (should extend Weapon), you'll be casting the spell on the weapon.
Link to comment
Share on other sites

Attach the script to a quest. Doesn't need any aliases. Make it start game enabled, make a single quest stage and check the "Start Up Stage" box.

 

That's all there is too it.

 

Note you will have to do additional coding if you only want the event to fire if the weapon is currently equipped. Otherwise it's going to fire every time the player swings any weapon.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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