Jump to content

Make horse follow like pet


Recommended Posts

  • Active+ Member

Hello. I want to make the horse follow me like the pet.

 

How the pet follows:

https://metin2.download/video/xrQMfr1mG6WnMCu8r61nu8VQ6gPG4Nj4/.mp4

 

How the horse follows:

https://metin2.download/video/ZLjuZkob5DOD6LdU2IWa31vt27YO5nKT/.mp4

 

Now, the horse is very slow and stops from time to time.

I want to make it follow me like the pet, so when I get too far the horse will teleport like the pet.

 

How do i do that?

Edited by Metin2 Dev International
Core X - External 2 Internal

spacer.png

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Char.h
Search;

	bool IsGoto() const noexcept { return m_bCharType == CHAR_TYPE_GOTO; }

Add under;

	bool IsHorse() const noexcept { return m_bCharType == CHAR_TYPE_HORSE; }

Char_state.cpp
Search;
  	else if (IsGuardNPC())

Add above;

	if (IsHorse())
		return;


This will come in handy. However, you need to make the necessary adaptations. To do this, search for the IsPet function and make the adaptations accordingly.
 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.