EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   $client->??? (https://www.eqemulator.org/forums/showthread.php?t=32737)

scarboni 12-21-2010 08:04 AM

$client->???
 
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...a=QuestObjects

And normal quest commands are here:

http://www.eqemulator.net/wiki/wikka...=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.


All times are GMT -4. The time now is 11:48 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.