Jump to content
  • 0

Attach a mob to a NPC


danielps

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

Hey guys,

Is that possible? Attach a mob to a npc and this mob will follow this npc? o.O

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   4
  • Joined:  04/17/16
  • Last Seen:  

Its possible, just edit out a moving npc script but have atleast 2-3 cells apart but same coordination.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

10 hours ago, Promeister said:

Its possible, just edit out a moving npc script but have atleast 2-3 cells apart but same coordination.

Don't i need a src modification?

How do i attach a mob to a NPC? Is there any command or i need to create it?

Last question, can i attach this mob to a far npc and this mob walk until arrivethe npc?

Thanks a lot man!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Get the mob unique game id (if invoked through scripting), move the npc with npcwalkto or sthg like that, and move the mob with unitwalk to the specified coordinates.

I suppose something like that should work, if you do it little by little. Never tried it thought.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

10 minutes ago, Alayne said:

Get the mob unique game id (if invoked through scripting), move the npc with npcwalkto or sthg like that, and move the mob with unitwalk to the specified coordinates.

I suppose something like that should work, if you do it little by little. Never tried it thought.

I invoked the mob through script, but i don't want to give the impression that the mob is following the npc, i really want the mbo to follow the npc.

Look, what i want to do is, I need the mob to walk through all the map in straight line (i can do it), if he see another mob or player enemie he fight (i can do it), and after fight the mob mus go ahead and continue walking to the specified position (this i cant and dont know how to do), that is whwy i tought in make the mbo follow a (hidden) npc  in the other side of the map. Do you guys have a easier idea how to do that?

Look this video, that is what i want to do:
 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Well that's waht @Capuche answered you on your other topics. Right now, I can't see another option than the one he gave you, but it's not implemented yet...For the unitwalk shouldn't remove the vincinity (don't think so, but never validated it)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

1 hour ago, Alayne said:

Well that's waht @Capuche answered you on your other topics. Right now, I can't see another option than the one he gave you, but it's not implemented yet...For the unitwalk shouldn't remove the vincinity (don't think so, but never validated it)

Ok,

But i'm not so good with src, i need some direction, where to start, what files to study etc..

I really wanna do this, but dont know how to start =/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

I don't watn anybody to do it and give me ir ready. I'm smart and excited to do that, if somebody just lead me to the right path, i think i can do this and post here in the community. Almost all my src mod, i did with @Playtester help, he told me where to start and i did everything work as i wanted xD 

If there is somebody who have any idea, how to do that, on at least where to start studiyng, i'd be very gald ^^
    Thank you guys!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Well let's be honest...I'm not good at it either x) 

So I'll leave someone else answer this time, sorry ^^'

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

8 hours ago, Alayne said:

Well let's be honest...I'm not good at it either x) 

So I'll leave someone else answer this time, sorry ^^'

Ok bro no problem, thanks for helping!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...