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

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);
}
}
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
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 03:22 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |