Jump to content

[LE] Need some help with dialog and quest start


gotenxds

Recommended Posts

Hello, I'm having some issues with this quest,

I have a dialog in the MISC tab of the quest set to hello.

In the start section of the script I called

getOwningQuest().setStage(1)
Debug.messageBox("TEST")

In game the dialog plays and the messageBox pops.

But the quest does not start.

 

If i write

setStage questName 1

In the console, it does start.

 

I also tried adding a property for the quest and then calling

myQuest.start()

but that does not work either.

 

any idea why would this happen ?

Link to comment
Share on other sites

In general, a quest can't start itself. You need to hook it to something external (Story Manager nodes or another script), or set to start the game enabled.

Why not ? A script runs and does what I'm doing in the console why does it matter in what context it runs ??

 

Besides, I've done it before, I'm trying to understand why its not working now tough.

Link to comment
Share on other sites

The quest must have started because It's run the dialogue script fragment you put on your dialogue in the Misc Tab. I presume it must be start game enabled and you have Stage 0 set to "startup stage". What is in Stage 1 that you expect to happen that isn't?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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