Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2015, 10:16 AM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

This is what Ive got so far, however the $counts do not show in the emote...

Code:
sub EVENT_DEATH_COMPLETE{
	if(!defined($qglobals{"orcslay1"})){ $client->SetGlobal("orcslay1", "0", 7, 'F'); }
	my $CountOrcs = $qglobals{"orcslay1"};
			quest::ze(15,  "Dead orcs = " . $CountOrcs . "Dead Gnolls =" . $CountGnolls . "..."); 
			$client->SetGlobal("orcslay1", ($qglobals{"orcslay1"} + 1) , 7, 'F');}
Changed it bc it kept setting the orcslay1 global to 0...

Code:
sub EVENT_DEATH_COMPLETE{

	my $CountOrcs = $qglobals{"orcslay1"};
			$client->SetGlobal("orcslay1", ($qglobals{"orcslay1"} + 1) , 7, 'F');
			quest::ze(15,  "Dead orcs = " . $CountOrcs . "Dead Gnolls =" . $CountGnolls . "...");}
However, the count will not exceed 1, and the ze will not give the quantity...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:47 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3