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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2015, 01:34 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

/quest/global/global_npc.pl
Code:
sub EVENT_SPAWN {
	if ($npc->GetNPCTypeID() == <put pet NPC Type ID here>) {
		my $petowner = $entity_list->GetClientByID($npc->GetOwnerID());
		$petowner->Message(15, "You are my owner!");
	}
}
Seems I was dismissed entirely. It would be extremely helpful to just know what you're wanting to achieve, precisely.
Reply With Quote
  #2  
Old 04-29-2015, 01:51 PM
JimB_1958
Sarnak
 
Join Date: Mar 2013
Location: Springfield MO
Posts: 66
Default

I'm probably going about it all wrong but what I am trying to achieve is This:

Create a pet in the Datbase, with no particular race, texture, gender, or size. (Done)
Create a spell to summon that pet (Done)
Create an item that has a clicky to summon the pet. (Done)

Now, I would like to save 4 values per client for the pets race, texture, gender, and size and set these values each time the client zones.

Basically a custom look to pets that player sets from a "Pet Merchant"

I can have the pet change the values in EVENT_SAY and they are pulled from qglobals, just cannot figure out how to do it without client intervention after the initial contact with the Pet Merchant.
__________________
"We are all on the same team, and I think not enough people realize this."
- Leetsauce
Reply With Quote
Reply


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 09:02 PM.


 

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