Jump to content

Knowledgable Papyrus Scripter Needed!


GingahNinja47

Recommended Posts

I got a request to add the Crescent Rose to Skyrim. I'm making it so that equipping it in Scythe Form adds the spell "Gun Form," which you can equip to your power button and use to switch to Gun Mode. Equipping it in Gun Mode does the same but for Scythe Form. Problem is none of my scripts seem to be working and I can't figure out why.

 

Script attached to Scythe Form Weapon

 

 

Scriptname CrescentRoseScythe extends ObjectReference

SPELL Property CrescentRoseToGunForm Auto

Event OnEquipped(Actor akActor)
if (akActor == Game.GetPlayer())
Game.GetPlayer().AddSpell(CrescentRoseToGunForm, false)
endif
EndEvent

Event OnUnEquipped(Actor akActor)
if (akActor == Game.GetPlayer())
Game.GetPlayer().RemoveSpell(CrescentRoseToGunForm)
endif
EndEvent

 

 

Script attached to the Gun Form Weapon

 

 

Scriptname CrescentRoseGun extends ObjectReference

SPELL Property CrescentRoseToScytheForm Auto

Event OnEquipped(Actor akActor)
if (akActor == Game.GetPlayer())
Game.GetPlayer().AddSpell(CrescentRoseToScytheForm, false)
endif
EndEvent

Event OnUnEquipped(Actor akActor)
if (akActor == Game.GetPlayer())
Game.GetPlayer().RemoveSpell(CrescentRoseToScytheForm)
endif
EndEvent

 

 

Script attached to the Scythe Form Spell (the one that should be added when you equip the Gun Form Weapon)

 

 

Scriptname CrescentRoseChangeToScythe extends ObjectReference

SPELL Property CrescentRoseToScytheForm Auto
WEAPON Property CrescentRoseScytheForm Auto
WEAPON Property CrescentRoseGunForm Auto

Event OnSpellCast(Form akSpell)
if (akSpell == CrescentRoseToScytheForm)
Game.GetPlayer().AddItem(CrescentRoseScytheForm)
Game.GetPlayer().RemoveItem(CrescentRoseGunForm)
endif
EndEvent

 

 

Script attached to the Gun Form Spell (the one that should be added when you equip the Scythe Form Weapon)

 

 

Scriptname CrescentRoseChangeToGun extends ObjectReference

SPELL Property CrescentRoseToGunForm Auto
WEAPON Property CrescentRoseScytheForm Auto
WEAPON Property CrescentRoseGunForm Auto

Event OnSpellCast(Form akSpell)
if (akSpell == CrescentRoseToGunForm)
Game.GetPlayer().AddItem(CrescentRoseGunForm)
Game.GetPlayer().RemoveItem(CrescentRoseScytheForm)
endif
EndEvent

 

 

 

Any help would be much appreciated!

Link to comment
Share on other sites

I had. Also, it now works perfectly! All of the scripts! And I have no idea why the first 2 decided to start working, because all I did was fix the other 2, but hey, I'll take it! Thanks to Sjogga and Matthiaswagg for replying and HUGE thanks to lofgren for helping me get the scripts running! Now, if you'll excuse me, I have some modelling to finish.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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