Jump to content

Cor Vermelha para drops alheios


WLN
 Share

Recommended Posts

UserInterface/PythonTextTail.cpp abra e adicione no fim dos inclues

#include "PythonPlayer.h"

procure por 

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

adicione acima:

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

ficando assim como na imagem anexada

 

tlthings.png

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
On 2/1/2018 at 2:00 PM, wery said:

UserInterface/PythonTextTail.cpp abra e adicione no fim dos inclues

#include "PythonPlayer.h"

procure por 


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

adicione acima:


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

ficando assim como na imagem anexada

 

tlthings.png

adcionei na minha source porém não aparece vermelha para outro;

segue meu PythonTextTail.cpp em anexo

PythonTextTail.cpp

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...