BGSenTineL Posted January 9, 2011 Share Posted January 9, 2011 Hello all . I'm making a simple quest but i have run into some problems from the same beginning. I've made a quest and attached to it a script that will give the player a letter. I want also the quest itself to start as soon as the player reads the letter. But i have the following problem. I'm non stop receiving the letter in my inventory. Also the quest stared with the first time the letter was added. Here is my simple script. ScriptName QuestnameBegin GameModeif ( player.IsInCombat == 0 ) && ( getStage CharacterGen >= 88 )message "I have received a mysterious message" player.additem MysteriousMessage 1 endifend also I put a script to the letter itself scn mysteriousletter begin onAdd player setstage myquest 10end And I also have stage 10 (the first one) The idea is as follows. The player gets the letter out of nothing. Reads it and then the quest starts. The goal is to go to a place (house) and as soon as he enter the quest is completed and journal entry says "I have done that and that so i now can do this" Quest Completed. I searched the tutorial in construction set wiki but i can't get it to work. Any suggestions ? :) Link to comment Share on other sites More sharing options...
The_Vyper Posted January 10, 2011 Share Posted January 10, 2011 Try modifying your first script like this: ScriptName Questname Begin GameMode if ( player.IsInCombat == 0 ) && ( getStage CharacterGen >= 88 ) && (getStage LetterAddedQuestID < 10) message "I have received a mysterious message" player.additem MysteriousMessage 1 endif end Link to comment Share on other sites More sharing options...
Deleted1848331User Posted January 10, 2011 Share Posted January 10, 2011 Also, if you want it to begin when you read it, not when its affed, change OnAdd to OnEquip. Link to comment Share on other sites More sharing options...
BGSenTineL Posted January 10, 2011 Author Share Posted January 10, 2011 Thank to both of you. Now the quest starts as soon as I open the letter but I'm receiving until I open it for a first time. So basically if I don't open it I'll get hundreds of letter until I decide to open it ? Any ideas how to fix this :) Link to comment Share on other sites More sharing options...
Hickory Posted January 10, 2011 Share Posted January 10, 2011 Put a stage advancement in your main script to stop multiple additions, and use the next stage in your book script. ScriptName Questname Begin GameMode if ( GetStage myquest == 0 ) && ( Player.IsInCombat == 0 ) && ( GetStage MQ01 >= 88 ) message "I have received a mysterious message" player.additem MysteriousMessage 1 setstage myquest 10 endif End scn mysteriousletter begin onAdd player setstage myquest 20 end Link to comment Share on other sites More sharing options...
BGSenTineL Posted January 13, 2011 Author Share Posted January 13, 2011 Thank you all but now the quest doesn't even want to start with this script ? ScriptName QuestnameBegin GameModeif ( GetStage myquest == 0 ) && ( Player.IsInCombat == 0 ) && ( GetStage MQ01 >= 88 )message "I have received a mysterious message"player.additem MysteriousMessage 1setstage myquest 10endifEnd Link to comment Share on other sites More sharing options...
Hickory Posted January 13, 2011 Share Posted January 13, 2011 You have substituted the script and quest names, I presume? Link to comment Share on other sites More sharing options...
BGSenTineL Posted January 14, 2011 Author Share Posted January 14, 2011 You have substituted the script and quest names, I presume? Ehmm yeah but I forgot to ask about this part ---> if ( GetStage myquest == 0 ) && ( Player.IsInCombat == 0 ) && ( GetStage MQ01 >= 88 )What is MQ01 ? there I should type the name of the quest or what ? Sorry about all this stupid question but I'm not good when it comes to this part of the CS and I can't find information about how to create such a simple quest. Link to comment Share on other sites More sharing options...
Hickory Posted January 14, 2011 Share Posted January 14, 2011 It's the tutorial quest, and is there so that you don't get the mysterious message until after the tutorial is finished -- standard practice for quests. Link to comment Share on other sites More sharing options...
BGSenTineL Posted January 14, 2011 Author Share Posted January 14, 2011 I can't make this working and I'm getting frustrated. It looks like it is very simple but I just can't do it. Quest making and scripting isn't my field of work. Can someone make this for me ? PM and I'll explain everything about it. It is a mod which adds a brand new sets of armor (2 actually) Also a lot of weapons and a completely new temple building. I'm doing this for a month now and i just don't want to release it unfinished without the simple quest to go there and find the stuff.Again the idea is when the player starts/load a game a letter to be added to his inventory. It describes the place where the items are and why this mysterious person decides to give them to the player. Also the mini quest is for the player to find the place (the letter gives a clue where to search for the temple/house ). Then the player starts looking and as soon he finds it out and enter the quest is finished. FULL CREDIT will be given to the person who is willing to make this "quest" Please PM :) Any help will be most appreciate :) Link to comment Share on other sites More sharing options...
Recommended Posts