View Single Post
  #6  
Old 12-18-2008, 10:33 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You have the wrong option set in your global for what you are wanting to do. Option 0 can only be seen by the exact NPC that created the global. You probably want option 3 or so.

Change this
Code:
quest::setglobal("emoush",2,0,"F");
to this:
Code:
quest::setglobal("emoush",2,3,"F");

Here is the list of options from the wiki quest page:
http://www.eqemulator.net/wiki/wikka...=QuestTutorial

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    |
-----------------------------------------
I also think you might need to add a heading to your spawn2:

Code:
quest::spawn2(1230, 0, 0, -136, 1993, -3);
Code:
quest::spawn2(1230, 0, 0, -136, 1993, -3, 0);
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 12-18-2008 at 06:43 PM..
Reply With Quote