10-30-2023, 09:42 AM
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

