Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Script trouble....


Cydonian_Knight
 Share

Recommended Posts

I'm not sure if this is the right place to put this, but since it deals with a type of script it was the best I could see. I'm having trouble making a script compile. It should be really simple, all I'm trying to do is place a result script on a dialogue topic. I would like for the result to set a quest variable to 1.

I declared the variable in the quest script. I named it "metmary" (without quotation marks. Anytime I use quotation marks here, this is the case). So then I wrote this in the result script box in the topics tab, "set 1DaedrasBane.metmary to 1". "1DaedrasBane is the editor name of the quest. However, it won't compile. It says that it is an unknown variable. But I know that it is a legitimate variable because under topic conditions, I am able to use GetQuestVariable metmary == 0, which shows up just fine. What am I doing wrong?

Thanks!

CK

Link to comment
Share on other sites

I'm not sure if this is the right place to put this, but since it deals with a type of script it was the best I could see. I'm having trouble making a script compile. It should be really simple, all I'm trying to do is place a result script on a dialogue topic. I would like for the result to set a quest variable to 1.

I declared the variable in the quest script. I named it "metmary" (without quotation marks. Anytime I use quotation marks here, this is the case). So then I wrote this in the result script box in the topics tab, "set 1DaedrasBane.metmary to 1". "1DaedrasBane is the editor name of the quest. However, it won't compile. It says that it is an unknown variable. But I know that it is a legitimate variable because under topic conditions, I am able to use GetQuestVariable metmary == 0, which shows up just fine. What am I doing wrong?

Thanks!

CK

First off, never put a number at the start of editor ID.

I suggest you re-name your quest to DaedrasBane1 or even better DaedrasBane01 and make the changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...