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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-21-2014, 09:17 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default qglobal

Hi,

Trying to set a qglobal to characters on a signal.

This is what I'm using so far, but the global is setting for the mob it's on, not for the character. i.e. in the charid it's showing up the "-npcid" instead of a character id.

I'm thinking I need to draw on clients in the zone, and then set that global onto those characters currently in the zone.

Someone able to point me in the direction of an example or help me out?

Thinking something like $clientlist or something like that. I want to draw on all the players currently in the zone and assign the qglobal to all of them though, not just one.

Thanks in advance for any help!

Code:
sub EVENT_SIGNAL {
	if ($signal == 1) { ###Egg Death
		$eggdeath += 1;
		if ($eggdeath == 16) {
			quest::setglobal("EmpoweredAseisa",1,1,"H12");
			}
		}
	}
Reply With Quote
 

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:33 PM.


 

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