Jump to content

Need help with Adding Spells via Items (papyrus scripts)


Tyrelh

Recommended Posts

as the topic says i need help with scripts.

 

I want get (Shout X added) when i Equip my helm and (Shout X removed) when helm is Unequipped. any easy lines to do this?

 

Thanks :)

 

Helm has it own script that add shout but i cant get it work.

Edited by Tyrelh
Link to comment
Share on other sites

Helm has it own script that add shout but i cant get it work.

Would you mind showing us what you've got at the moment?

 

Cipscis

 

 

scriptName AAaddshout

 

Event OnEquipped(Actor AkActor)

Game.GetPlayer().addShout(AAshout)

EndEvent

 

 

 

Event OnUnequipped(Actor AkActor)

Game.GetPlayer().removeShout(AAshout)

EndEvent

 

 

 

I tried copy something in game. but didn't work well.

Edited by Tyrelh
Link to comment
Share on other sites

Okay, this tutorial I've written explains what your problem is and how to fix it - EditorIDs in Papyrus

 

P.S. Please use code tags when posting scripts - they maintain formatting (like indentation) and force the scripts to be displayed in a fixed-width font. I've described how to do this on the official Creation Kit forums - How To Ask For Scripting Help

 

Cipscis

Link to comment
Share on other sites

  • Recently Browsing   0 members

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