Jump to content

How to start scenes using the Start command in scripting?


Recommended Posts

I would like to start a scene inside my quest. When using:
 

SceneName.Start()



it fails saying it is undefined.

However the base game calls scenes by:
 

DialogueGagarin_GG_IntroScene_TakeTwo.Start()



Is there something necessary for the script to recognize the scene name? If there is something I can not find it.

Link to comment
Share on other sites

You may have forgotten to define the scene as a script variable, like:

Script Property SceneName Auto Const

Function YourFunction()
	SceneName.Start()
EndFunction

You also need to fill out the script property in the Creation Kit. (Right click >> Edit Properties).

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...