Author Topic: Following NPC  (Read 559 times)

Legacy_Green_Dragon123

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Following NPC
« on: July 01, 2011, 04:40:43 pm »


               I´m using ActionForceFollowObject() to make a NPC follow the PC. When the PC moves to a new area, however, the NPC doesn´t come along with him. Should it be like this?
               
               

               
            

Legacy_Snarkblat

  • Full Member
  • ***
  • Posts: 104
  • Karma: +0/-0
Following NPC
« Reply #1 on: July 02, 2011, 12:32:21 am »


               Make sure you uncomment this line in the on module load script:

SetModuleSwitch (MODULE_SWITCH_ENABLE_CROSSAREA_WALKWAYPOINTS, TRUE);
               
               

               


                     Modifié par Snarkblat, 01 juillet 2011 - 11:32 .
                     
                  


            

Legacy_Green_Dragon123

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Following NPC
« Reply #2 on: July 04, 2011, 09:31:24 am »


               Great. Thanks for your help.
               
               

               
            

Legacy_La Rose Noire

  • Newbie
  • *
  • Posts: 49
  • Karma: +0/-0
Following NPC
« Reply #3 on: July 05, 2011, 12:11:48 pm »


               And take care of OHB script which set AI to low level when nobody is in the area. It may "kill" NPC brain to is the new area loading is too long because you don't have a valid location for few seconds and the NPC shall considers you're no more in game.