EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   How to change an NPC name (https://www.eqemulator.org/forums/showthread.php?t=31117)

kameko 04-21-2010 09:39 PM

How to change an NPC name
 
Hey,

I'm working on a quest now and would like to change an Npc's first name for a short time. I will use a timer and then change his name back to normal afterwards. I just do not know how to change a mobs name in perl or even using the objects available to me.

Can anyone shed some light on this for me please,

Thank you

pfyon 04-21-2010 09:52 PM

I think you'll need to spawn an NPC with a different name, then despawn it and spawn one with the original name when the timer triggers.

kameko 04-21-2010 10:13 PM

Hmmm... I was hoping that would be required. The player will be in the middle of talking to him at the time..... well, I think I can work with that....

Any other ideas out there ?

trevius 04-21-2010 11:03 PM

Unfortunately, as far as I know, it is not possible. I actually tried testing to see if it could be done using illusions, since illusion packets include a name field, but I couldn't get it to make any changes so I guess it is just ignored :(


All times are GMT -4. The time now is 07:34 PM.

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