View Single Post
  #6  
Old 03-17-2013, 02:31 AM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Code:
my $count = 0;
my @hatelist = $npc->GetHateList(); 
			
foreach $ent (@hatelist)
{
	my $h_ent = $ent->GetEnt();
	$count++;
					
        if ($h_ent)
	{
		if ($count >= 7)
                {
                    $npc->GMMove(whatever)
                }
	}
        	
}
Reply With Quote