Author Topic: random quest  (Read 396 times)

Legacy_dragonlandon

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
random quest
« on: October 30, 2011, 08:08:00 pm »


               what im tryin to do is  this

you goto an npc to get a quest and he gives you a random quest.
just so we have some paramiters lets say the npc can choose 1 of 10 quests to give you
i can bang out the converstations and quests just need the script to randomize the quests.
and if it is possible to get it where it does not give the same quest back to back would be nice

landon
               
               

               
            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
random quest
« Reply #1 on: October 30, 2011, 09:39:49 pm »


               http://lmgtfy.com/?q...andom quest&l=1
Heh. '<img'> (no time to give thought to it myself)
               
               

               


                     Modifié par Xardex, 30 octobre 2011 - 09:40 .
                     
                  


            

Legacy_Hardcore UFO

  • Full Member
  • ***
  • Posts: 157
  • Karma: +0/-0
random quest
« Reply #2 on: November 02, 2011, 05:25:50 am »


               I'd imagine a imple way is to have each quest set a variable on the PC so that the NPC knows that player did the quest. Then in the conversation, call a script that rolls a 1d10 and uses case/if clauses to initialize each quest depending on the roll results - prompting a reroll if the quest is already done for that PC would be neat, too.
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
random quest
« Reply #3 on: November 02, 2011, 10:50:50 pm »


               <dripping red wax all over an important looking packet ...>

dragonlandon wrote...
what im tryin to do is  this

you goto an npc to get a quest and he gives you a random quest.
just so we have some paramiters lets say the npc can choose 1 of 10 quests to give you
i can bang out the converstations and quests just need the script to randomize the quests.
and if it is possible to get it where it does not give the same quest back to back would be nice

Although I haven't played much with it,  Vuldrick's Random Quest Generator sounds like what you're looking for:

This system will allow a module designer to add random generated quests/jobs to their module. The Task Master NPC will spawn in five (5) randomly generated quests at a time. All quests must be completed before he will spawn in new quests. DMs have special conversation options with the Task Master that allow them to destroy all current quests or spawn new quests etc. 

Mutiple Task Masters can be set in the module (see below) thus allowing the module to have as many quests spawned as the builder desires. 


<...before handing it to an eager beaver>
               
               

               


                     Modifié par Rolo Kipp, 02 novembre 2011 - 10:53 .
                     
                  


            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
random quest
« Reply #4 on: November 03, 2011, 08:55:58 pm »


               

Rolo Kipp wrote...
Vuldrick's Random Quest Generator

Looks familiar... ':whistle:'
               
               

               


                     Modifié par Xardex, 03 novembre 2011 - 08:56 .
                     
                  


            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
random quest
« Reply #5 on: November 04, 2011, 03:43:25 pm »


               <laughing til he...>

Xardex wrote...

Rolo Kipp wrote...
Vuldrick's Random Quest Generator

Looks familiar... ':whistle:'

LOL, I saw the lmgtfy and never hit your link above :-P

You know what they say "Great minds think alike" =)
[and smaller minds, by necessity, run in the same rut]

<...falls off the chair>