|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Q&A This is the quest support section |
03-14-2005, 08:25 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:26 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:26 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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:
|
03-14-2005, 08:27 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:27 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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
}
}
|
03-14-2005, 08:28 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:29 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:29 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:30 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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);
}
}
|
03-14-2005, 08:30 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
quest::attack
quest::attack
Explanation: Makes the mob or NPC attack anything with the chosen name.
Full Command: quest::attack(
|
03-14-2005, 08:31 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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();
}
}
|
03-14-2005, 08:32 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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
|
03-14-2005, 08:32 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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
|
03-14-2005, 08:33 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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(
|
03-14-2005, 08:36 PM
|
|
Discordant
|
|
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
|
|
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
Last edited by mwmdragon; 03-15-2005 at 05:01 AM..
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:44 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|