Ihoe Posted November 27, 2008 Share Posted November 27, 2008 hey,I'm having a problem writing this script. the problem is that with my tweaking, the game Crashes to desktop.this is the script: I have a lot of NPCs with different Form ID's created, I want to: 1.add a bunch of topics to all of them (topics are the same) 2.1 topic stays for the player to choose, the others remain hidden. 3.when the player clicks on that 1 topic, if he has the certain amount of gold, the gold gets removed and the hidden topics appear. but the number 1 topic hides until another topic that emerges gets clicked at.(let's call this one topic 6) 4.while this topic 1 is hidden and the rest are available i want a certain amount of gold removed from the player every 3 days. but this paying stops when topic 6 is clicked. 5.after topic 6 is clicked and said yes to, all the topics (including topic 6) get removed and topic 1 is added. I Need the script for this, and I was unable to create it my self without CTDs. Link to comment Share on other sites More sharing options...
Ihoe Posted November 28, 2008 Author Share Posted November 28, 2008 OK, no replies?how about giving me a script that removes an amount of gold every 3 days until a topic is clicked at? thanks,IE Link to comment Share on other sites More sharing options...
Vagrant0 Posted November 28, 2008 Share Posted November 28, 2008 Topics are not controlled on an npc by npc basis. They are assigned to all NPCs that meet their conditions. If a topic uses a faction as a condition, all NPCs in that faction will have that topic. Additionally, if the topic uses things like quest stages or variables, that topic will only become available on those NPCs whch are part of that faction, and only when those variables are met. Addtopic only works toward the player, and should only be used to give access to the first part of any dialogue chain. Additional steps in the chain can be handled with dialogue choices. Like all topics, things which are linked to choices will only be seen when all the conditions are present in the world, or at the speaker/listener. Aside from some minor background stuff, and knowing how to detect/trigger certain conditions, scripting really isn't used here. http://cs.elderscrolls.com/constwiki/index...alogue_Tutorial Link to comment Share on other sites More sharing options...
Ihoe Posted November 29, 2008 Author Share Posted November 29, 2008 well thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.