Difference between revisions of "Bethesda Tutorial Scenes"

m
Added more info for a user encountering issues
imported>Thingy Person
(→‎Additional Functionality: Mention IsSceneActionComplete)
m (Added more info for a user encountering issues)
 
Line 117: Line 117:
One nice way to get this scene going would be to create a new dialogue topic to encourage Bendu to admit his true feelings.
One nice way to get this scene going would be to create a new dialogue topic to encourage Bendu to admit his true feelings.


Go back to the Dialogue Views tab in GSQ01, select the view we've got there, then add a new branch called 'GSQ01BenduAdmitFeelings'.  Open up the topic, add a response (maybe 'I've seen the way you look at her, you should admit how you feel to her.').  To get the scene to start we first need to create a property on the response info script. The topic info will already have a script attached, so in the bottom right panel, click on that script, then properties, then add a property of type 'Scene' called MSQ01BenduGilfreScene.  That should auto-fill so no need to do that.  Then in the end script fragment, add the following line:
Go back to the Dialogue Views tab in GSQ01, select the view we've got there, then add a new branch called 'GSQ01BenduAdmitFeelings'.  Open up the topic, add a response (maybe 'I've seen the way you look at her, you should admit how you feel to her.').  To get the scene to start we first need to create a property on the response info script.  


<code>MSQ01BenduGilfreScene.Start()</code>
The Topic Info may already have a script attached (if not, simply create one). Selecting that script in the bottom-right panel of the Topic Info, click Properties and create one of type 'Scene' called GSQBenduGilfreScene. Edit its value so it points to your previously created scene. Then, in the End Script fragment, add the following code:
 
<code>GSQBenduGilfreScene.Start()</code>
 
'''Note:''' If you encounter errors with your scene script, you may need to comment out (with a semi-colon) or otherwise remove all code, then close and re-open your Quest following the creation of your script. Afterwards, you may create / set properties and write code as normal.


Now you're good to test.
Now you're good to test.
2

edits