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 05-11-2011, 12:59 AM
Shamanistik08
Sarnak
 
Join Date: Apr 2011
Posts: 47
Default Spawning a mob with player name.

Would like to spawn a nemesis for a quest.

It needs to have the player name. being aggro so faction 79. and depop if combat state is 0 for more than 1 min or so.

Question is : is this possible?
Reply With Quote
  #2  
Old 05-11-2011, 02:33 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Short answer is yes.

You can just use $npc->TempName("New_name") for setting the name. You will need to get the name of the player first though, but that all depends on how you want to handle that part. Then use a timer from EVENT_COMBAT to set the depop timer if combat state is 0.

If you are trying to clone another character completely, that is a bit more work. Lucky for you, I have already written plugins for handling cloning and just posted them here:

http://www.eqemulator.org/forums/sho...d.php?p=199712
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 05-11-2011, 10:56 PM
Shamanistik08
Sarnak
 
Join Date: Apr 2011
Posts: 47
Default

Here was my idea :

Making a couple types of skeletons (short for gnomes, dwarves.., big for barabarain, Iksar for iksar, etc..) with faction kos, and set damage, no need to complicate.

creating a player.pl script.

On sub even death, asking to spawn a mob according to player race, and name it the name of the player.


So getting the skeleton to spawn with the right size shouldn't be a problem with the "if race". but would really love that people of the group see the name of their fallen comrade on the mob. And I have no idea I could do that.

How I can tell the spawned skeleton that he need a particular name, how I "save" the name, and how I send it to the skeleton.
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 05:05 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