collapse

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Adding xp reward in dialog  (Read 694 times)

Marked as best answer by on August 24, 2020, 09:46:24 am

Offline [archive] Acleacius

  • Methuselah
  • ****
  • Posts: 435
  • Reputation: +0/-0
Re: Adding xp reward in dialog
« on: April 24, 2010, 06:00:00 am »
  • Undo Best Answer
  •                 Is it possible to add a command to dialog lines to add XP in the same way Humanity and Masquerade is added or taken away?
     
     ;pc.AddXP( 2 )
     
     
     Thanks for any tips.  happy                        

     

    -----signature-----
               Trust me, most of the names I have been called you can't translate in any language...they're not even real words as much as a succession of violent images.
       
                                                      

    Offline [archive] Malkav_666814

    • Neonate
    • **
    • Posts: 72
    • Reputation: +0/-0
    Re: Adding xp reward in dialog
    « Reply #1 on: April 24, 2010, 09:50:00 pm »
                    Hi,
     
     you have to set a quest in one of the quest_location files in the \vdata\system folders and the corresponding xp for the quest state you are referring to in experience_table. then you can call that quest state in a dialogue.
     If you need an example, i can dig something out tomorrow.                        

     

                                                      

    Offline [archive] Acleacius

    • Methuselah
    • ****
    • Posts: 435
    • Reputation: +0/-0
    Adding xp reward in dialog
    « Reply #2 on: April 25, 2010, 06:41:00 pm »
                    Gave it a try and worked great thanks Malkav_666814.  happy                        

     

    -----signature-----
               Trust me, most of the names I have been called you can't translate in any language...they're not even real words as much as a succession of violent images.
       
                                                      

     

    SimplePortal 2.3.7 © 2008-2020, SimplePortal