Thread: $mob->
View Single Post
  #2  
Old 08-27-2008, 03:31 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Some of those are a little tricky to get working and some don't work at all I think.

Sometimes you might need to do $entity_list->gate(); or $npc->gate(); or something like that instead. And some of them, you need to get the mob ID first.

Here is a way to get the NPC ID and use it for something. I don't know if this would work, but I use something like this for adding hate to NPCs and other things:

Code:
my $gating_npc = $entity_list->GetMobByNpcTypeID(2120410);

  if ($gating_npc) {
    my $gate_now = $gating_npc->CastToNPC();
    $gate_now->gate(); }
The only thing that I know of that uses $mob is the SetHP() command.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote