Author Topic: Stop monsters following PC into the next area. Solved  (Read 328 times)

Legacy_simomate2

  • Full Member
  • ***
  • Posts: 133
  • Karma: +0/-0
Stop monsters following PC into the next area. Solved
« on: April 15, 2012, 05:48:38 am »


               How can this be achieved?  Basically, hypothetically the PC could be attacked by a group of brain eating, mind numbing, blood sucking zombies with bad acene, and he could run into a safe house. The zombies should not be able to follow him inside. Is it possible to restrict them to a certain area? Or is there a differernt way to do this...
               
               

               


                     Modifié par simomate2, 16 avril 2012 - 11:50 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Stop monsters following PC into the next area. Solved
« Reply #1 on: April 15, 2012, 05:55:45 am »


               nw_g0_transition default script is used for area transitions. You can either disable all NPC to use are transition or you can restrict it only for zombies (by the tag or appearance, your call)
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Stop monsters following PC into the next area. Solved
« Reply #2 on: April 15, 2012, 12:52:13 pm »


               you cold place the script X3_G0_TranPCOnly.nss or nw_G0_TranPCOnly.nss in the OnAreaTransitionClicked event for the door.
               
               

               
            

Legacy_simomate2

  • Full Member
  • ***
  • Posts: 133
  • Karma: +0/-0
Stop monsters following PC into the next area. Solved
« Reply #3 on: April 16, 2012, 12:50:07 pm »


               Did what Lightfoot suggested, thanks!