![]() |
|
How to clean mob or player target by pressing ESC? - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128) +----- Thread: How to clean mob or player target by pressing ESC? (/showthread.php?tid=5070) |
- Andrein95 - 10-30-2023 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 - matth - 11-08-2023 I believe I have done it in past using the ClearTargetInfo, take a look in places that use it |