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? |
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 |
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. |
All times are GMT -4. The time now is 09:45 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.