gotenxds Posted April 29, 2017 Share Posted April 29, 2017 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 More sharing options...
foamyesque Posted April 29, 2017 Share Posted April 29, 2017 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. Link to comment Share on other sites More sharing options...
gotenxds Posted April 29, 2017 Author Share Posted April 29, 2017 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 More sharing options...
agerweb Posted April 30, 2017 Share Posted April 30, 2017 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 More sharing options...
ReDragon2013 Posted April 30, 2017 Share Posted April 30, 2017 gotenxds: Did you resolved that issue ""unable to locate script" when creating new script"? Link to comment Share on other sites More sharing options...
Recommended Posts