PDA

View Full Version : Mob Summons


Randymarsh9
08-10-2009, 11:41 PM
Is there way to make an NPC summon a character who attacks it even if they havent done enough damage for the special attack summon to kick in?

trevius
08-10-2009, 11:48 PM
From the wiki here:
http://www.eqemulator.net/wiki/wikka.php?wakka=QuestObjects

This is probably your best option:
MovePC(zoneID, x, y, z, ignorerestrictions= 0, summoned= false)


Something like this should do the trick:

my $myx = $npc->GetX();
my $myy = $npc->GetY();
my $myz = $npc->GetZ();

$client->MovePC(152, $myx, $myy, $myz);
$client->Message(15, "YOU have been Summoned!");

Depending on where you are using that, you might have to get the client before trying to use this.

Randymarsh9
08-11-2009, 12:05 AM
Hm I might do a proximity or something. This is the case, I have an area of a zone populated with shadowmen who check the clients value of some global and if its high enough, they let them proceed, if not, the character keeps getting kicked back to entrace. Someone pointed out that the boss that you should have to have done a bunch of quests to reach can just be pulled to the entrance to people who havent done the quests. So, I want to find a way that basically as soon as they engage, they won't be able to pull the mob away.

trevius
08-11-2009, 12:58 AM
Set the runspeed to 0 so that it is perma-rooted?

joligario
08-11-2009, 05:37 AM
You could also tether the NPC to its spawn point.

Randymarsh9
08-11-2009, 01:04 PM
Idk how to tether so I'll do the run speed 0 thing plus summon as a special attack. Thanks for the ideas