Quests and events, need help

So after several hours this afternoon/evening I finally managed to make a quest, totally simple, and it mirrors a lot of the existing quests, but it works.

So here's what I want to do.

I want to take the event that increases World NPC level, such as the one found in the various Technological research's.

Code: xml
  1.        
  2.          <GameModifier>
  3.             <ModType>Player</ModType>
  4.             <Attribute>UpdateSpawnRating</Attribute>
  5.             <StrVal>CREATURE</StrVal>
  6.         </GameModifier>

And tie that in to a consequence from one of the quest dialog options.

Code: xml
  1.      <!-- Choice 0 -->
  2.             <QuestChoiceDef>
  3.                 <Description>Let the woman enter the cave on her own.</Description>
  4.                 <NextObjectiveID>-1</NextObjectiveID>
  5.                 <PopupMessage>The woman sighs at you, but enters reluctantly. Shortly after you hear a scream from within the cave! What have you done! You unleashed the unspeakable evil upon the world!</PopupMessage>
  6.             </QuestChoiceDef>
  7.    

That's the part of the quest, and the second choice in the dialog that popsup, where I want the UpdateSpawnRating to take effect, but can't seem to figure out if it's even possible.

 

Any suggestions?

1,385 views 0 replies