Author Topic: Problem with hench  (Read 516 times)

Legacy_howitsmade

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Problem with hench
« on: February 15, 2016, 11:37:02 am »


               

Hello, it will be my first thread here '<img'>


 


I have issue with my hench. I have an interior with two floors. When I try go on the second floor (door to door transition) my hench stay on the lower floor. I admit that 1 and 2 floor are on the same area.


 


Is there any command which will make it when he stops to see me (or will be more than 10 m far from me) then he will be "teleported" next to me? 


I know this is happening all the time, but i think in this situation i have to enter lover value of metres.


 


Could You help me? '<img'>



               
               

               
            

Legacy_howitsmade

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Problem with hench
« Reply #1 on: February 18, 2016, 06:25:08 pm »


               

ok, I've solved this problem but I've found another.


 


I want to do that Creature ("cow") at day stand at "wp_cow_day" and at the night at "wp_cow_night".


I am trying and trying and all i have done is cow is teleported to "wp_cow_night" while night starts but doesn't back when day starts.



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Problem with hench
« Reply #2 on: February 18, 2016, 07:07:36 pm »


               

If you name the two waypoints POST_cow and NIGHT_cow you can have the caw do that with WalkWaypoints. It maybe something you can enable in the spawn script. I don't recall now if waypoint walking is on by default.


               
               

               
            

Legacy_howitsmade

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Problem with hench
« Reply #3 on: February 18, 2016, 07:35:06 pm »


               

And what if those two walkpoints are in different areas which arent connected with any kind of transition?



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Problem with hench
« Reply #4 on: February 18, 2016, 07:48:43 pm »


               

That may not work then, although it may teleport when it gives up.  It was just a suggestion...  But if you don't care about the cow getting from one to the other why not just spawn the cow at day time on the day WP and destroy it and spawn an identical one at night on the night waypoint? (NESS would do that easily enough)


 


For your current setup, what script is driving the teleportation and where is the PC during this time?  If you are using the cow's heartbeat, for example, and the PC is in the area with the day WP and there is no PC in the night area the cow might never come back because the heartbeat may not run if there is no PC in the area.