How to clean mob or player target by pressing ESC?
#1

Hello, I'm trying to clean target but seems to not work.

When a mob or player is target or for example if I press a skill, the cursor change to: UMCT_ATT_SKILL.

 if (GetPlayer()->m_bWaitForSkillTarget)

{

    pUIManager->GetMouseCursor()->SetCursorType(UMCT_ATT_SKILL);

}

I'd like to clean this or mob/player already selected.

I hook the pressure of ESC but:

ObjInfo* pInfo = ObjInfo::getSingleton();
pInfo->TargetClear();

does not work.

Anyone know how to fix that?

Thanks



Messages In This Thread
[No subject] - by Andrein95 - 10-30-2023, 09:42 AM
[No subject] - by matth - 11-08-2023, 03:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)