Thread: Script help
View Single Post
  #6  
Old 02-24-2015, 10:55 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Code:
sub CheatersTryingToCheat {
	my @npcassistarray = [108407,108043,etc.];
	my @npcstillalive = $entity_list->GetNPCList();
	foreach $singleentity (@npcstillalive) {
		if ($singleentity->GetNPCTypeID() ~~ @npcassistarray) {
			$singleentity->AddToHateList($npc->GetHateTop());
		}
	}
}
I mean, this is just the sheer basics of things. Though, they're going to be just swarming through walls and such. They'll go after whomever is on top of PD's hatelist at that very moment, which -could- change. (usually the "tank")

No other checks etc.

If you need more, let us know.
Reply With Quote