View Single Post
  #8  
Old 08-16-2013, 12:21 PM
lumiya
Fire Beetle
 
Join Date: Jun 2010
Posts: 12
Default

Thanks for the response. I will clean up my code for future posts.

The faction check is still not firing it seems. As before it gets to the
Is Entity a Client check which passes.

I have also tried to specifiy the faction id with no success.


Code:
if ($h_ent->GetCharacterFactionLevel(1117) > 1)

I also tried to store the faction ID as a variable and call it back in a quest::say with no success



Code:
my $h_faction = $ent->GetCharacterFactionLevel(1117);

if ($h_ent->IsClient()) {
quest::say("Is Client named $h_ent hate list is $hate_count and faction is $h_faction ");
}
So my question now becomes can I pull the Faction for each entity in the hate list or is that not supported?
Reply With Quote