Jump to content

Python TextTail System


Recommended Posts

Hi devs,

The system is so simple, you will see the yellow title if that item contains your name otherwise you will see the red title.

UserInterface/PythonTextTail.cpp in search

#include "PythonSystem.h"

Add :

#include "PythonPlayer.h"

Try PythonTextTail.cpp in search

pTextTail->pOwnerTextInstance->SetColor(1.0f, 1.0f, 0.0f);

Under add :

CInstanceBase * pInstanceBase = CPythonCharacterManager::Instance().GetMainInstancePtr();
if (pInstanceBase)
{
    if (strcmp(pInstanceBase->GetNameString(), c_szName))
        pTextTail->pOwnerTextInstance->SetColor(1.0f, 0.0f, 0.0f);
}

and build client.. :)

System screen;

ojA03o.jpg

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 12
Link to comment
Share on other sites

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.