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...

How to create a quest, that begins after pick up sth?


DwemerManiac
 Share

Recommended Posts

Hi, first of all sorry form my poor English, I hope you wil understand me enough.

 

I'm complete beginner in SCKit, and with scripting. I've already done my firts quest mod (with help of YouTube and Bethesda tutorials)- I speak with Bralin, he tells me a story about a dwemer ruins, I go there, kill the bad guy who killed Bralin's friends  (I dont take any item as usually;) and return to Balin. I tell him about avenging his friends, and the quest is over.

 

Now, I want to begin another quest, during exploring those ruins. In one container I want to place DLC01DweSchematics (off course I made a duplicate, and renamed it for my mod: DWOStrangeDweSchematics).

 

I wanted to quest begin when I will pick up this item. There will be objective, that I have to go to Markart where my NPC-Tirian will translate these schematics for me (like Dawnguard quest with 4 forgotten,falmers books- I go Urag gro-Shub, give it to him, he takes oryginal book and gives me translated copy). And of course when I will read translated book, I will begin another quest, concerning the story in book.

 

So I hink that I have to make a starting quest  script for this item: DWOStrangeDweSchematic

 

Script name:Begin quest

Property name: DWODwemerLanguage  (type:quest) 

 

I tried to write script for begining, but I failed.

 

My script:

 

 

Scriptname Beginquest extends ObjectReference  

Quest Property DWODwemerLanguage  Auto  

Event OnContainerChanged(ObjectReference newcontainer,ObjectReference oldcontainer)
if(newcontainer==Game.GetPlayer())
DWODwemerLanguage.GetOwningQuest().SetObjectiveDisplayed(10)
DWODwemerLanguage.GetOwningQuest().SetStage(10)
Endif
EndEvent

 

Scrpt dont compile .And error message for these lines:

 

(7,18): GetOwningQuest is not a function or does not exist
(7,35): none is not a known user-defined type
(8,18): GetOwningQuest is not a function or does not exist
(8,35): none is not a known user-defined type
No output generated for Beginquest, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Beginquest
 

 

What should I write in this script. How to make my quest begin when I will pick up DWOStrangeDweSchematic item from container in my ruins?

 

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...