Ok so I got it to work as a default script... only issue is it does not work with all the npcs in the zone. There is no other scripts other than mine in the zone file. Orcs and gnolls globally, all share the same script when dying, the only issue is I cant find it. I looked in the global file and nothing. Are there hard coded scripts when they die they automatically say those things that will superceed my default file?
Code:
sub EVENT_DEATH_COMPLETE{
my $CountOrcs = $qglobals{"orcslay1"};
my $CountGnolls = $qglobals{"gnollslay1"};
quest::setglobal("gnollslay1", ($qglobals{"gnollslay1"}+1) , 7, 'F');
quest::ze(13, "<<<<---Dead orcs = " . $CountOrcs . " Dead Gnolls = " . $CountGnolls . " --->>>>");}