View Single Post
  #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