Author Topic: Transferring henchmen to different modules?  (Read 268 times)

Legacy_slave of slaanesh

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Transferring henchmen to different modules?
« on: May 25, 2011, 11:46:00 am »


               Hi.  I am building a massive world consisting of many modules linked together with many henchmen following the pc.  There is that many in fact, that many die during the course of the game, and i was wondering if there was any way to transfer the remaining henchmen between modules without having to remember which ones live and placing them in the module via the toolset.  Any help would be helpful.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Transferring henchmen to different modules?
« Reply #1 on: May 25, 2011, 05:09:11 pm »


               Have you tried storing the Henchmen into a unique database for retrieval into the new module the pc walks into?  This is probably how I would set up the system..

Via...

StoreCampaignObject("DATABASE_NAME", "VARIABLE_NAME", oHenchmen, oPC);

NOTE: You will obviously need to define oPC & oHenchmen (who they are)

The Database Name should be unique, so it's not set by module, and of course the variable name should be tied to the Player Character Specifically..  (*Maybe store the Variable Name on an object on the PC, this way it's tied specifically to THIS PC, you should use a random name preferably one that cannot be duplicated by any means..)
               
               

               


                     Modifié par _Guile, 25 mai 2011 - 04:09 .
                     
                  


            

Legacy_slave of slaanesh

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Transferring henchmen to different modules?
« Reply #2 on: May 25, 2011, 09:06:40 pm »


               i will try that cheers.
               
               

               
            

Legacy_Karvon

  • Sr. Member
  • ****
  • Posts: 430
  • Karma: +0/-0
Transferring henchmen to different modules?
« Reply #3 on: May 25, 2011, 10:59:29 pm »


               I seem to recall a henchman script on the vault that offered such options; you might want to browse thru what's already been done, unless you really want to reinvent the wheel.

Karvon