How to start a Scene using dialogue script fragments?

Post » Mon Jun 18, 2012 9:10 pm

Hey guys, I've got a simple problem. I'm a complete noob at Papyrus, and I need to start a scene using the end script in piece of dialogue.

I thought it might be able to be done with a property, but I tried and it's not working, I'm guessing because the fragment seems to create a new script automatically, instead of the one I attached that has the property.

So... how do I fix this?
User avatar
Unstoppable Judge
 
Posts: 3337
Joined: Sat Jul 29, 2006 11:22 pm

Post » Tue Jun 19, 2012 1:23 am

What I do is "GetOwningQuest.SetStage(x)" to set to an arbitrary stage. On the stages tab, attach the script to your arbitrary stage - you can insert the scene property (make sure it's pointing to your scene) and just simply MyScene.Start(), and you set the stage again if you want.
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Mon Jun 18, 2012 6:01 pm

What I do is "GetOwningQuest.SetStage(x)" to set to an arbitrary stage. On the stages tab, attach the script to your arbitrary stage - you can insert the scene property (make sure it's pointing to your scene) and just simply MyScene.Start(), and you set the stage again if you want.

Okay, this isn't working for me.

Let's just assume I'm a complete idiot. Can you dumb it down for me even more? (I really hate Papyrus. The old scripts were so easy!)
User avatar
Katie Samuel
 
Posts: 3384
Joined: Tue Oct 10, 2006 5:20 am

Post » Tue Jun 19, 2012 5:43 am

Okay, it looks like I'm doing it right, in theory. I had a look at the scene in the Riften marketplace at the beginning of the Thieve's Guild quest, and I've done pretty much everything right. But it's not working.

I attached the script to the "scripts" tab. I gave it the scene I want as a property. I selected that script on my quest stage from the drop down menu. I put "TheNameOfMyScene.Start()" in the fragment.

I get errors pop up when I try to compile it.
User avatar
natalie mccormick
 
Posts: 3415
Joined: Fri Aug 18, 2006 8:36 am

Post » Tue Jun 19, 2012 1:39 am

What do the errors say?
User avatar
gemma
 
Posts: 3441
Joined: Tue Jul 25, 2006 7:10 am

Post » Mon Jun 18, 2012 2:39 pm

What do the errors say?

Starting 1 compile threads for 1 files...
Compiling "QF_danMainQuest1_01003F83"...
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_danMainQuest1_01003F83.psc(33,0): variable danLlondrynMeetsHeedalScene is undefined
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_danMainQuest1_01003F83.psc(33,28): none is not a known user-defined type
No output generated for QF_danMainQuest1_01003F83, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on QF_danMainQuest1_01003F83
User avatar
jaideep singh
 
Posts: 3357
Joined: Sun Jul 08, 2007 8:45 pm

Post » Tue Jun 19, 2012 1:26 am

Is danLlondrynMeetsheedalScene the actual editor id of your scene?

It needs to be a scene property.
User avatar
Kanaoka
 
Posts: 3416
Joined: Fri Jun 16, 2006 2:24 pm

Post » Mon Jun 18, 2012 6:01 pm

Is danLlondrynMeetsheedalScene the actual editor id of your scene?

It needs to be a scene property.

I think I may have accidentally given the property and the id the same name. But I just tried again with a new property, and I'm getting the same error.
User avatar
Davorah Katz
 
Posts: 3468
Joined: Fri Dec 22, 2006 12:57 pm


Return to V - Skyrim