OblivionDood Posted July 10, 2011 Share Posted July 10, 2011 (edited) Hi, Updated Again:No madder what I do I can't get the topic to show up. The npc has the player go and kill a beggar in his sleep for initiation. The player kills the beggar with this: Scriptname 1KillBeggarScript begin OnDeath if ( GetStage 1SKQ01 < 60 ) setstage 1SKQ01 60 endif end The script is attached to the quest beggar and all go goes well and the quest is updated: "I have killed so and so should report back to Adar..." (Quest giver). The marker shows Adar like it should but when I get to him he doesn't have the topic. The getstage is set to 60 and the 1KillBeggarscript updated the player getstage to 60 so I have no clue why it's not working I have tried everything. I tried putting it down to 0 so I could just walk up and try it and it still wasn't there. Is there a limit to how many topics a npc can have? Updated:Well I have a npc that gives a topic about whether or not to join the faction. The player can choose yes or no; yes advancing the quest and no keeping it the same. When the player chooses yes he is told to go to a cave and talk to another npc who then tells player to talk to another npc for his first quest. My problem is that all the npcs have their quest dialogue when they shouldn't. They should only have the topics after the player has talked to the previous quest giver. I have had all my npcs start with a greeting and all the greetings have a Addtopic ____ leading to the quest could that be my problem? (Now that I think about it the tutorial did it) The only reference I have is a script from a tutorial I followed which only allows the npc to trigger their dialogue or topic after the player has reached 20 in the stage quest. How would I do the same but for an npc being talked to? This is it:Scriptname DFKillOrcScript begin OnDeath if ( GetStage DFKillOrc < 20 ) setstage DFKillOrc 20 endif end I'm making my first quest and all is good. I have great dialogue voices lip sync, but when I talk to the NPCs for my quest I can access any topic at any time. It is not triggered by the quest line. So the player can walk up to an NPC that is way ahead in the quest line and the player will jump to that part of the quest. How can I fix it to where the player has to do certain things and talk to certain people before he can advance in the quest line? I'm brand new so be nice :) Edited July 10, 2011 by OblivionDood Link to comment Share on other sites More sharing options...
fg109 Posted July 10, 2011 Share Posted July 10, 2011 Your screens don't really give much information on the problem. For all your dialogue, make sure that they have conditions that check the stage of your quest. That's the only thing I can say since I have no idea what the quest is about. Link to comment Share on other sites More sharing options...
OblivionDood Posted July 10, 2011 Author Share Posted July 10, 2011 (edited) Well I have a npc that gives a topic about whether or not to join the faction. The player can choose yes or no; yes advancing the quest and no keeping it the same. When the player chooses yes he is told to go to a cave and talk to another npc who then tells player to talk to another npc for his first quest. My problem is that all the npcs have their quest dialogue when they shouldn't. They should only have the topics after the player has talked to the previous quest giver. I have had all my npcs start with a greeting and all the greetings have a Addtopic ____ leading to the quest could that be my problem? (Now that I think about it the tutorial did it) The only reference I have is a script from a tutorial I followed which only allows the npc to trigger their dialogue or topic after the player has reached 20 in the stage quest. How would I do the same but for an npc being talked to? This is it:Scriptname DFKillOrcScript begin OnDeath if ( GetStage DFKillOrc < 20 ) setstage DFKillOrc 20 endif end Edited July 10, 2011 by OblivionDood Link to comment Share on other sites More sharing options...
fg109 Posted July 10, 2011 Share Posted July 10, 2011 Well, the thing I really wanted to know was how you are setting up your dialogue conditions. Like on the last screen, your conditions for the dialogue shown were: "GetStage Quest:'1SKQ01' == 0" and "GetIsID 1ShadowKnightC... == 1" This means that the topic "Yes, I will join you" will only show up when you're talking to the npc 1ShadowKnightC... and the quest stage is 0. So what you want to do is to set up all your dialogue like that, except instead of "GetStage Quest:'1SKQ01' == 0" it could be "GetStage Quest:'1SKQ01' == 10" or "GetStage Quest:'1SKQ01' == 20" or whatever quest stage it should be before the dialogue shows up. Link to comment Share on other sites More sharing options...
OblivionDood Posted July 10, 2011 Author Share Posted July 10, 2011 (edited) Thanks fg109 I went back and looked though the quest getstage's and I made a few mistakes. After I fixed them I tested it out and everything worked. Only problem is that my last quest doesn't. No madder what I do I can't get the topic to show up. The npc has the player go and kill a beggar in his sleep for initiation. The player kills the beggar with this: Scriptname 1KillBeggarScript begin OnDeath if ( GetStage 1SKQ01 < 60 ) setstage 1SKQ01 60 endif end The script is attached to the quest beggar and all go goes well and the quest is updated: "I have killed so and so should report back to Adar..." (Quest giver). The marker shows Adar like it should but when I get to him he doesn't have the topic. The getstage is set to 60 and the 1KillBeggarscript updated the player getstage to 60 so I have no clue why it's not working I have tried everything. I tried putting it down to 0 so I could just walk up and try it and it still wasn't there. Is there a limit to how many topics a npc can have? Thanks again Edited July 10, 2011 by OblivionDood Link to comment Share on other sites More sharing options...
fg109 Posted July 10, 2011 Share Posted July 10, 2011 Did you remember to use AddTopic? You can only see a topic if it's been added, and the conditions for the dialogue are met. Link to comment Share on other sites More sharing options...
OblivionDood Posted July 10, 2011 Author Share Posted July 10, 2011 Yes I did. I used Addtopic typed n the script aera could that be why? Every other topic has worked this way except this one. Link to comment Share on other sites More sharing options...
fg109 Posted July 10, 2011 Share Posted July 10, 2011 Did you actually attach the script to the beggar? After you kill the beggar, type "GetStage 1SKQ01" into the console to see what stage you're at. Link to comment Share on other sites More sharing options...
OblivionDood Posted July 10, 2011 Author Share Posted July 10, 2011 Did you actually attach the script to the beggar? After you kill the beggar, type "GetStage 1SKQ01" into the console to see what stage you're at. Yes I attached it to the beggar. And yes I typed in GetStage 1SKQ01 and it said 60 after I killed the beggar. I go back to the quest giver and it's still not there. I put the setstage down to 0 for Adar though and it worked. I tried 50 and it didn't even though the player is at stage 50 when he receives the quest to kill the beggar. I'm at a loss.. Link to comment Share on other sites More sharing options...
fg109 Posted July 10, 2011 Share Posted July 10, 2011 Try putting the AddTopic line in the script you put on the beggar, just to make sure that you get the topic. Then double check the dialogue conditions for the topic. Make sure that it's available when quest stage is 60, and that the quest NPC is the one that says the line. Other than that, I have no idea what you could do. Link to comment Share on other sites More sharing options...
Recommended Posts