TimeShadow Posted August 1, 2013 Share Posted August 1, 2013 (edited) I am having a problem with a script, which I know very little about.This is a short script and I am getting theERROR MESSAGE " Unknown variable '00BMHBookContainer01REF.Acitivate' ". I am trying to create a script that will open a container through a switch (activator) and run a second script (attached to the container) which will activate static versions of the Skill Books I have for display. Here is the script: scn BMHBookDisplaySCRIPT Begin OnActivate If IsActionREF Player == 1 00BMHBookContainer01REF.Activate Player 1 endifEnd Did some corrections on this but still getting the same Error Message! Once again:This script will only open the container and give access, once opened if books are added to the container it will activate the static books (second script). Any help is very welcome.Thank you.~TS Edited August 1, 2013 by TimeShadow Link to comment Share on other sites More sharing options...
countofanvil Posted August 1, 2013 Share Posted August 1, 2013 (edited) check it with an online no-download script checker. I always use those, and they help me a lot. I can't point you to one as I don't have one bookmarked, but do a little Googling and you'll find one. Just Google 'Fallout GECK script checker no download' EDIT: Here you go! http://www.cipscis.com/fallout/utilities/validator.aspx Edited August 1, 2013 by countofanvil Link to comment Share on other sites More sharing options...
TimeShadow Posted August 1, 2013 Author Share Posted August 1, 2013 Yes, thank you but I have already, but I can't figure out how to use it. In fact I have read his beginning scripting page and it does not help.I wish there was some sort of comprehensive manual that I could get. Even Bethesda's online guide is limited. Link to comment Share on other sites More sharing options...
blove Posted August 2, 2013 Share Posted August 2, 2013 00BMHBookContainer01REF.Acitivate Three things, do not start your editorids with numerals because occasionally the game engine will mistake them for formids, your form must exist before you can reference and save it in a script, and "Activate" is misspelled. Link to comment Share on other sites More sharing options...
pkleiss Posted August 2, 2013 Share Posted August 2, 2013 Expounding on #2 from blove... Your ref ID needs to be assigned to the reference object AND that object needs to flagged as a persistent reference in order to use it's ref ID in a script. Link to comment Share on other sites More sharing options...
TimeShadow Posted August 2, 2013 Author Share Posted August 2, 2013 (edited) Thanks Guy, I really appreciate the help. ~TS Edited August 2, 2013 by TimeShadow Link to comment Share on other sites More sharing options...
Recommended Posts