The Elder Scrolls V: Skyrim

The Elder Scrolls V: Skyrim

View Stats:
ReaperOz Jun 18, 2013 @ 2:25am
I broke a script! Need someone to copy and paste here for me please!
I stupidly edited the source code of ElderScrollScript attached to DA04ElderScroll. This appears to be a permanent edit despite doing it with a mod set to active.
Could a kind soul please copy and paste the source code of this script here for me so i can repair the damage done. Thanks!
< >
Showing 1-3 of 3 comments
Shadowblade001 Jun 18, 2013 @ 4:10am 
What on Earth did you do that for?

Did you not make a back up of the *.pcs file?

Have you tried deleting and re-installing the mod?

Or deleting the script and getting Steam to verify and re-install missing files?


OK, I had a look and I found this. I do not have any DLC installed, though, so I do not know if the Vanilla script is the same as with the DLC.

Also, I see no *.pex file, so we don't know if anything else is broken as well.

DA04ElderScrollActivatorScript

Scriptname DA04ElderScrollActivatorScript extends ObjectReference

ReferenceAlias Property ElderScroll auto
ObjectReference Property Contraption auto

Event OnActivate(ObjectReference akActivator)
if (akActivator == Game.GetPlayer())
Contraption.PlayAnimation("Take")
ElderScroll.GetReference().Enable()
Game.GetPlayer().AddItem(ElderScroll.GetReference(), 1)
Disable()
Delete()
endif
EndEvent


Hope it works and let that be a lesson to you!

;o)

~
Last edited by Shadowblade001; Jun 18, 2013 @ 4:11am
Arcamean Jun 18, 2013 @ 5:55am 
Alternatively delete the file then let steam redownload it... oh and don't forget to clean the dirty edits... again.
ReaperOz Jun 18, 2013 @ 7:04am 
Thx for the advice :)
< >
Showing 1-3 of 3 comments
Per page: 15 30 50

Date Posted: Jun 18, 2013 @ 2:25am
Posts: 3