QUOTE (ArteGordon @ Jan 31 2006, 11:23 AM) |
when you look the string while in the game, do you see GIVE/<questholder/name/Find and kill the Tiderc Darc/notestring/I need that package. Find him and kill him/objective1/GIVENAMED,Sandra,Sandra's Package,1/autoreward/true/rewardstring/@bag/ADD/FinestSilkCloak or GIVE/<questholder/name/Find and kill the Tiderc Darc/notestring/I need that package. Find him and kill him/objective1/GIVENAMED,Sandra,Sandra's Package,1/autoreward/true/rewardstring/@bag/ADD/FinestSilkCloak The < is the html code for '<' and is only used when entering text into an XML file. When entering the strings ingame, use the actual char '<' |
QUOTE |
EntryNumber = 70 Keywords = accept Action = GIVE/<questholder/name/Kill Bobo/notestring/Bobo must go. Find him and kill him/objective1/KILLNAMED,Bobo,1/autoreward/true/rewardstring/@bag/ADD/gold,200 DependsOn = 50 This is the result: |
QUOTE |
EntryNumber = 70 Keywords = accept Action = GIVE/<questholder/name/Kill Bobo/notestring/Bobo must go. Find him and kill him/objective1/KILLNAMED,Bobo,1/autoreward/true/rewardstring/@bag/ADD/gold,200 DependsOn = 50 This is the result: |
QUOTE |
Action = GIVE/<questholder/name/Kill Bobo/PartyEnabled/true/Difficulty/5/notestring/Bobo must go. Find him and kill him/objective1/KILLNAMED,Bobo,1/autoreward/true/rewardstring/@bag/ADD/gold,200 |
QUOTE |
Added the PartyEnabled and PartyRange properties to XmlQuestToken items like the QuestNote. When this is set to true, KILL and COLLECT type quests will allow all members of a party to have quest objectives satisfied if any member of the party kills or collects quest objective targets. For the KILL type quests, each member will get credit for a kill made by the party. For COLLECT type quests, regardless of who in the party collects the target items, they will be distributed to randomly selected party members. If the PartyRange is set to a value zero or greater, then only members of the party within the specified range will share the quest targets. The default range is -1 which means infinite range. PartyEnabled is set to false by default. Both party enabled and range status are shown in the upper right corner of the quest status gump. (Thanks to Bane for the suggestion). |
QUOTE |
- added support for flagging quests as either non-repeatable, or repeatable but only after some time period. If the Repeatable property is set to false on a questholder or questnote item, when the quest is completed and deleted, the player will be given a quest attachment (XmlQuestAttachment) that will flag the player as having completed the quest. If the Repeatable property is set to true (the default) and the NextRepeatable property is set to a TimeSpan value, then the attachment will be set to expire after that time. As long as the XmlQuestAttachment with the quest name is attached to the player, objectives for that quest cannot be completed. The quest can still be held by the player and when the attachment expires, the player can then repeat the quest. Note, staff can add or remove these attachments in-game using [addatt and [delatt to manually control whether specific players can repeat specific quests. The repeatability status of a quest will be shown at the bottom of the quest status gump. For example spawning a quest as questholder/name/waitforme/objective1/KILL,orc/autoreward/true/rewardstring/ARMOR,1,2/nextrepeatable/10:00 would make a quest named 'waitforme' with the objective to kill an orc and a random armor auto reward that could only be repeated once every 10 hours. questholder/name/onlyone/objective1/KILL,balron/autoreward/true/rewardstring/ARMOR,4,5/repeatable/false would make a quest named 'onlyone' with the objective to kill a balron and a random armor auto reward that could only be done once. |
QUOTE |
NoTrigOnCarried: Kill Bobo,mediumbagofholding |
CODE |
<?xml version="1.0" standalone="yes"?> <XmlQuestNPC> <NPC> <Name>Talia</Name> <Running>True</Running> <ProximityRange>3</ProximityRange> <NoTriggerOnCarried>Kill The Orc</NoTriggerOnCarried> <AllowGhost>False</AllowGhost> <SpeechPace>10</SpeechPace> <ResetTime>1</ResetTime> <SpeechEntries>8</SpeechEntries> </NPC> <SpeechEntry> <EntryNumber>0</EntryNumber> <ID>0</ID> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>10</EntryNumber> <ID>10</ID> <Text>Hi!</Text> <DependsOn>-1</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>20</EntryNumber> <ID>20</ID> <Text>Good Morning!</Text> <DependsOn>-1</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>30</EntryNumber> <ID>30</ID> <Text>Wouldst thou mind helping a troubled lady, brave traveler?</Text> <DependsOn>10,20</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>40</EntryNumber> <ID>40</ID> <Keywords>yes,ok</Keywords> <DependsOn>30</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> <Gump>GUMP,Talia,4/Will you help me restore my trade, whom the Orcs have brought to a standstill?;Ok;ok;Whats in it for me?;money</Gump> </SpeechEntry> <SpeechEntry> <EntryNumber>50</EntryNumber> <ID>50</ID> <Keywords>ok</Keywords> <DependsOn>40,60</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> <Gump>GUMP,Talia,3/I have lost too much trade to those devilish Orcs. would you help me deal with them? I often lumber for wood in the near-by forest, but as of late it is too dangerous for me because of the Orc that roams there. Will you rid him from those trees good traveler? I will kindly reward you.</Gump> </SpeechEntry> <SpeechEntry> <EntryNumber>60</EntryNumber> <ID>60</ID> <Keywords>money</Keywords> <DependsOn>40</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> <Gump>GUMP,Talia,4/I can reward you with 200 gold!;Ok;ok;No thanks;No</Gump> </SpeechEntry> <SpeechEntry> <EntryNumber>70</EntryNumber> <ID>70</ID> <Keywords>accept</Keywords> <Action>GIVE/<questholder/name/Kill the Orc/notestring/Kill the orc in the forest/objective1/KILL,orc,1/autoreward/true/rewardstring/@bag/ADD/gold,200</Action> <DependsOn>50</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> </XmlQuestNPC> |