Jump to content

Recommended Posts

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
Link to comment
https://metin2.dev/topic/31761-make-horse-follow-like-pet/
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
https://metin2.dev/topic/31761-make-horse-follow-like-pet/#findComment-161058
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.