Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-29-2008, 12:24 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Question How do I make an NPC my pet?

I want to put NPC's in some zones that a user can hail them, and make them their pet for that zone as a charmed mob and/or pet. These will be non-aggro NPC's at zoneline with level and stats appropriate for the current zone.

An easy way that I dont want, is to put Dire Charm (actually, Spell ID 2761 Dominating Gaze) onto an item as a clickie to perminately charm an NPC.

So Im trying to use quest code. The stuff I've tried already are

Code:
quest::selfcast($mobid,2761);
quest::castspell($mobid,2761);
$client->UseDiscipline(2761,$mobid);
$client->castspell($mobid,2761);
$mob->SetOwnerID($userid);
$npc->SetOwnerID($userid);
Im running out of ideas. I tried running bots before, but users were using 5 bots per box in all the zones. I'd like to limit which zones, and to 1 pet/bot/npc per user. Figured it could be done in quest code, but its just not working. Any ideas how it can be done? I've check all the QuestObjects in the wiki's and the tutorial, etc. Please help.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:20 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3