David Brasher Posted February 12, 2012 Share Posted February 12, 2012 I need to get into a quest script and add a quest variable. It does not matter much which quest I insert a variable into at this point. I can see that the Skyrim quests seem to have numerous scripts attached rather than just one like Oblivion had. (Unless I am misinterpreting the situation.) I know how to open scripts on objects or actors, but can't figure out how to open them on quests. Where do you go to access global variables and create new ones? I can't find a GetScriptVariable condition. Is it true that one variable is good for all the scripts in the whole .esm or .esp and all the scripts can see it just by referring to its name and not to its host and name like in Oblivion (Set AAMyQuest.AAMyVariable to 1.) Link to comment Share on other sites More sharing options...
David Brasher Posted February 12, 2012 Author Share Posted February 12, 2012 (edited) I found one of the answers. To open a quest script: Quest Window > Scripts > Script Name > Right click on name of script > Edit Source. EDIT: Now that I can get in there and initialize a quest variable, I discover that the GetQuestVariable condition in the dialog box does not work. It sort of looks like dead code. A function of the CK that was not finished and used. Where do you go to create and initialize global variables. I tried it in the quest script, and although it compiled fine, I can't reference that variable from other places. Edited February 12, 2012 by David Brasher Link to comment Share on other sites More sharing options...
anuther1 Posted February 12, 2012 Share Posted February 12, 2012 I thought you pick them up with "kmyQuest" My link Link to comment Share on other sites More sharing options...
Recommended Posts