Jump to content

Weapon Scripting Help


Recommended Posts

So, I'm trying to script a weapon to cast a spell whenever said weapon is drawn, but cannot seem to get the script to work. The script is applied to the weapon directly, if that helps. The light spell is just a custom novice light spell with 0 cost. I also plan to have the spell dispelled when the weapon is sheathed, once I get the spell to cast when the weapon is drawn.

 

This is my script

 

ScriptName 01brightfuryScript
Begin Gamemode
if Player.IsWeaponOut == 1
Cast 02brightfurylightspell Player
endif
End
Would appreciate any help, thanks.
Edited by lordbevan1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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