Script not working on other PCs

Post » Wed Jun 20, 2012 10:42 am

The script I have on my PC and the others that works on mine but not others, What am I missing?
Everything in the quest works well except this.

This is supposed to make it so that when the player takes a scroll from the other persons inventory it advances to stage 40.

Any help would be appreciated

Scriptname SSQNoteScript extends ObjectReference

Quest Property SSQ01 Auto

Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
SSQ01.SetObjectivedisplayed(40)
SSQ01.SetStage(40)
endif
EndEvent
User avatar
Charlotte Henderson
 
Posts: 3337
Joined: Wed Oct 11, 2006 12:37 pm

Post » Wed Jun 20, 2012 5:20 am

Are you distributing the .pex file along with your .esp? Scripts are no longer stored as part of your plugin, they're separate files that need to be packaged with the mod like a mesh or texture. Also, if you're using the CK to build a .bsa that you distribute, I just found out that the CK will often forget to include everything that's needed, so you have to verify the list each time and add any missing stuff by hand.
User avatar
maya papps
 
Posts: 3468
Joined: Mon Aug 07, 2006 3:44 pm

Post » Wed Jun 20, 2012 11:59 am

Are you distributing the .pex file along with your .esp? Scripts are no longer stored as part of your plugin, they're separate files that need to be packaged with the mod like a mesh or texture. Also, if you're using the CK to build a .bsa that you distribute, I just found out that the CK will often forget to include everything that's needed, so you have to verify the list each time and add any missing stuff by hand.
I have checked in the CK on two seperate computers and the script is visibale on both and functions until stage 40 on the other computer all the .pex and .psc were tried in both .bsa and manual methodes with the same result. Works on main PC, does not work on second PC. Thanks for the reply
User avatar
Sarah Kim
 
Posts: 3407
Joined: Tue Aug 29, 2006 2:24 pm


Return to V - Skyrim