Log in

View Full Version : $client->???


scarboni
12-21-2010, 08:04 AM
Im creating a quest npc which is going to summon a PC to a location and make the client (PC) untarget anything he got targeted is that possible from quest::?

I tried something like
$client->untarget();

but im not sure what kind of commands $client can use.

trevius
12-21-2010, 11:31 AM
You can't just make up commands that don't exist. All of the current quest objects are here:

http://www.eqemulator.net/wiki/wikka.php?wakka=QuestObjects

And normal quest commands are here:

http://www.eqemulator.net/wiki/wikka.php?wakka=QuestTutorial

And no, you can't make a client untarget something. The client will just keep the target even if the server thinks it removed it. I guess we are missing a certain packet to remove targets, or it just isn't a possibility for the client.

scarboni
12-23-2010, 05:58 PM
Ok thanks for the answer, I guess I'd just remove my little hide and seek event than as the player keeps the npc on target.

I could despawn the mob and resummon it but it feels kinda worthless...

trevius
12-27-2010, 11:32 AM
If you don't want the NPC to be targetable, you can just change body type to 11 so they can't be targeted.