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 01-10-2009, 07:07 AM
Joetuul
Sarnak
 
Join Date: Oct 2008
Location: AZ
Posts: 58
Default qglobal Flags for players

Question is...

would there be a way to have an NPC give all players in a group/raid the flag for something upon death, like access to a zone using..

Code:
quest::setglobal([varname],[value],[options],[duration]);
or
would it be better to have the NPC on death spawn another NPC that you hail and receive the flag? just like how POP flags people for the next tier/zones. using the same code?

Also... which would be the best "options" to use?

Code:
-----------------------------------------
|  value |  npcid  |  player |   zone   |
-----------------------------------------
|   0    |  this   |   this  |   this   |
|   1    |  all    |   this  |   this   |
|   2    |  this   |   all   |   this   |
|   3    |  all    |   all   |   this   |
|   4    |  this   |   this  |   all    |
|   5    |  all    |   this  |   all    | 
|   6    |  this   |   all   |   all    |
|   7    |  all    |   all   |   all    |
-----------------------------------------
it would be option 5 if I am understanding it correctly. cause any NPC and ZONE could use the flag, but only the player that made the flag, I am correct?

sorry for all the questions. just trying to understand all of this. Ive read the wiki a good number of times, just need confirmation that I am understanding it correctly and not have to post my quests asking if I am doing it right since I cant get it to work.

thanks
__________________
~Tuul
Mithaniel Marr
http://mithmarr.power-rpg.com/
Reply With Quote
  #2  
Old 01-10-2009, 10:13 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yes, option 5 is correct. And, if you want to flag everyone on a kill, try using sub EVENT_KILLER_MERIT. Anyone who would get credit for the kill (group or raid) can be given globals or whatever using this event type.

http://www.eqemulator.net/wiki/wikka...=QuestTutorial
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 01-10-2009, 03:15 PM
Joetuul
Sarnak
 
Join Date: Oct 2008
Location: AZ
Posts: 58
Default

Thanks Trevius, sorry for the questions, I am just trying to understand all of this. I think I am starting to get a good grasp on quest writing.

You said to try using sub EVENT_KILLER_MERIT . I dont see that one on the list, are you refering to EVENT_KILLED_MERIT? or is it a command that is not in the wiki?
__________________
~Tuul
Mithaniel Marr
http://mithmarr.power-rpg.com/
Reply With Quote
Reply


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 08:45 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3