Ok I am PChar->TargetSelected();
Or PChar->GetTargetID();
so here is my question how can I get Target of a selected object by TYPE
I am looking all over the place for the code in the core but im not finding it yet.
I thought maybe this would be It After reading though the code, and what do you know.
PEntity->loc.zone->GetEntity(PEntity->m_TargID, TYPE_PC)
I need a statement that says IF Player has Target TYPE_MOB DO FUNCTION
Then I can have the others as well if player has target type_pc do function or statement..
I have a question about targets
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: I have a question about targets
It is not acceptable behavior to PM people with your questions to try to solicit a quicker response. This post would have sufficed.