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

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

Closed Thread
 
Thread Tools Display Modes
  #31  
Old 03-14-2005, 08:25 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::settimer

quest::settimer

Explanation: Starts a time the counts seconds.

Full Command: quest::(timerid,seconds)

Timerid = The ID number of the timer you would like to start. Found in the database.
Seconds = The amount of time you want the timer to run for in seconds.

Example:

# After hailing the NPC timer 1 is set to run for 3 minutes (180 seconds)

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::settimer(1,180);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #32  
Old 03-14-2005, 08:26 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::stoptimer

quest::stoptimer

Explanation: Stops the chosen timer.

Full Command: quest::stoptimer(timerid)

Timerid = The ID of the timer you would like to stop. Can be found in your database.

Example:

# After hailing the NPC the time with the ID 1 is stopped.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::stoptimer(1);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #33  
Old 03-14-2005, 08:26 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::settarget

quest::settarget

Explanation: Sets a mobs target.

Full Command: quest::settarget(type,ID)

Type =
ID = The ID of the NPC or player to target.

Example:
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #34  
Old 03-14-2005, 08:27 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::follow

quest::follow

Explanation: Makes the mob or NPC follow a chosen NPC or player.

Full Command: quest::follow(ID)

ID = The ID of the NPC or Player that the mob or NPC is supposed to follow.

Example:

# After hailing the NPC he follow the NPC with the ID of 1024.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::follow(1024);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #35  
Old 03-14-2005, 08:27 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::sfollow

quest::sfollow

Explanation: Stop the mob from following a player or NPC after making it do so with the follow command.

Full Command: quest::sfollow( )

Example:

# After hailing the NPC again he stops following the player.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::sfollow
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #36  
Old 03-14-2005, 08:28 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::movepc

quest::movepc

Explanation: Moves the player to a chosen zone to a chosen location.

Full Command: quest::movepc(zoneid,x,y,z)

Zoneid = The ID of the zone you want to move the player to. Can be found in your database.
X = The x Axis you would like to send the player to. Can be found by /loc but switch the x and y.
Y = The y Axis you would like to send the player to. Can be found by /loc but switch the x and y.
Z = The z Axis you would like to send the player to. Can be found by /loc.

Example:

# After hailing the NPC the player is moved to zone 23 at location -123.45,1200.03,-34.11.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::movepc(23, -123.45,1200.03,-34.11);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #37  
Old 03-14-2005, 08:29 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::gmmove

quest::gmmove

Explanation: Moves the player to a chosen zone to a chosen location.

Full Command: quest::gmmove(zoneid,x,y,z)

Zoneid = The ID of the zone you want to move the player to. Can be found in your database.
X = The x Axis you would like to send the player to. Can be found by /loc but switch the x and y.
Y = The y Axis you would like to send the player to. Can be found by /loc but switch the x and y.
Z = The z Axis you would like to send the player to. Can be found by /loc.

Example:

# After hailing the NPC the player is moved to zone 18 at location -123.45,1200.03,-34.11.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::movepc(18, -123.45,1200.03,-34.11);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #38  
Old 03-14-2005, 08:29 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::movegrp

quest::movegrp

Explanation: Moves the player and his party to a chosen zone and a chosen location.

Full Command: quest::movegrp(zoneid,x,y,z)

Zoneid = The ID of the zone you want to move the party to. Can be found in your database.
X = The x Axis you would like to send the party to. Can be found by /loc but switch the x and y.
Y = The y Axis you would like to send the party to. Can be found by /loc but switch the x and y.
Z = The z Axis you would like to send the party to. Can be found by /loc.

Example:

# After hailing the NPC the player and his party is moved to zone 7 at location -123.45,1200.03,-34.11.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::movegrp(7, -123.45,1200.03,-34.11);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #39  
Old 03-14-2005, 08:30 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::setallskill

quest::setallskill

Explanation: Sets all the players skills to a certain value.

Full Command: quest::setallskill(n)

n = any number from 0 to 252

Example:

# After hailing the NPC all the player skills are set to the maximum of 252..

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::setallskill(252);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #40  
Old 03-14-2005, 08:30 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::attack

quest::attack

Explanation: Makes the mob or NPC attack anything with the chosen name.

Full Command: quest::attack(
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #41  
Old 03-14-2005, 08:31 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::save

quest::save

Explanation: Saves the players data to the database.

Full Command: quest::save( )

Example:

# After hailing the NPC the players data is saved.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::save();
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #42  
Old 03-14-2005, 08:32 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::setglobal

quest::setglobal

Explanation: Allows you to create or modify an existing global variable for the mob you are using the command on.

Full Command: quest::setglobal(varname,value,options,duration)

Varname = The name of the global variable. It
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #43  
Old 03-14-2005, 08:32 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::targlobal

quest::targlobal

Explanation: This is a quick way to attack a bunch of information in a global variable to a mob.

Full Command: quest::targlobal(varname,value,duration,npcid,char id,zoneid)

Varname = The name of the global variable. It
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #44  
Old 03-14-2005, 08:33 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::delglobal

quest::delglobal

Explanation: Deletes a global variable.

Full Command: quest::delglobal(varname)

Varname = The name of the variable to be deleted.

Example:

# After hailing the NPC the global variable megaquest is deleted.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::delglobal(
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
  #45  
Old 03-14-2005, 08:36 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default Thats all the commands

Thats all the commands.

I know some data may be incorrect or not complete and I would love to correct it or even put in better examples. If you can help with this just send me the change in a PM, make sure you mark what it is for, and I'll fix it as soon as I get them PM.

I hope this helps a few people out.

As I promised Here it is in PDF Format
http://mwmdragon.homeftp.net/trade/f...estLexicon.pdf
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com

Last edited by mwmdragon; 03-15-2005 at 05:01 AM..
Closed Thread


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 09:20 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