Jump to content

How can I hide a specific mob's name?


Recommended Posts

16 hours ago, HITRON said:

Maybe like that:

 

File: PythonTextTail.cpp

 

Find:


At : CPythonTextTail::ShowCharacterTextTail

Search for:
	if (pInstance->IsGuildWall())
		return;

Add bellow:
	if (pInstance->GetRace() == 30000)
		return;

 

Not tested.

 

If I do this it won't appear even with my mouse over.

I figured it out.

In PythonTextTail.cpp in void CPythonTextTail::ShowAllTextTail() replace 

if (pTextTail->fDistanceFromPlayer < 3500.0f)

with 

if (pTextTail->fDistanceFromPlayer < 3500.0f && CPythonCharacterManager::Instance().GetInstancePtr(pTextTail->dwVirtualID)->GetRace() != 30000)

 

 

  • Love 1
Link to comment
Share on other sites

7 hours ago, Metin2Place said:

If I do this it won't appear even with my mouse over.

I figured it out.

In PythonTextTail.cpp in void CPythonTextTail::ShowAllTextTail() replace 

if (pTextTail->fDistanceFromPlayer < 3500.0f)

with 

if (pTextTail->fDistanceFromPlayer < 3500.0f && CPythonCharacterManager::Instance().GetInstancePtr(pTextTail->dwVirtualID)->GetRace() != 30000)

 

 

I didn't notice the part with the mouse, but now that you figured it out, good. You may can close now your topic.

  • Love 1
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.