Jump to content

Alternative Grey Cowl


dra6o0n

Recommended Posts

Basically for this basic version i put together this script, but not sure if it actually saves the crime gold, fame, and infamy for the separate "personality".

 

ScriptName 00GreyCowlscript

Short 00pccrimegold
Short 00pcfame
Short 00pcinfamy
Short 00playerinfamy
Short 00playerfame
Short 00playergold
Short 00tempcrimegold
Short 00tempfame
Short 00tempinfamy

Begin OnAdd
Set 00playergold to 0
Set 00playerfame to 0
Set 00playerinfamy to 0
End

Begin OnEquip Player
Set 00tempcrimegold to player.getcrimegold
Set 00tempfame to player.getpcfame
Set 00tempinfamy to player.getpcinfamy

player.setcrimegold 00playergold
player.setpcfame 00playerfame
player.setpcinfamy 00playerinfamy
End

Begin OnUnequip Player
set 00playergold to player.getcrimegold
set 00playerfame to player.getpcfame
set 00playerinfamy to player.getpcinfamy

player.setcrimegold 00tempcrimegold
player.setpcfame 00tempfame
player.setpcinfamy 00tempinfamy
End

 

When i tested it, it seems to work, until i went back into the editor and found out that the current esp i made somehow lost the script for the cowl... Gonna retest it again with the script on and hoped for it to work.

 

UPDATE: Yes it does work, although this script only saves the bounty, fame, and infamy, I still need to work on adding more functions to it. Maybe a more balanced stat boost too?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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