kimura
05-01-2012, 10:31 AM
can anyone look at this and tell me why it would work one day and then the next day, it does everything except move the PC to the locs...didnt change a thing
i think it may have to do with instanced version and default versions of potimeb...suggestions?
sub EVENT_SAY {
if ($text =~/Hail/i)
{ quest::say("How could YOU defeat ME, $name? I have no choice but to send you to the next battle! Perhaps, you will taste death soon! Which way would you like to die? [Fire], [Water], [Undead], [Air] or [Earth]?"); }
if ($text =~/Fire/i)
{
quest::shout ("$name , go forth and DIE!!");
quest::movepc(-60,565,494);
}
if ($text =~/Water/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-60,852,494);
}
if ($text =~/Undead/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-33,1107,494);
}
if ($text =~/Air/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-54,1344,494);
}
if ($text =~/Earth/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-53,1630,494);
}
}
sub EVENT_SPAWN
{
quest::settimer("depop",3600);
}
sub EVENT_TIMER
{
if ($timer eq "depop")
{
quest::depop();
}
}
i think it may have to do with instanced version and default versions of potimeb...suggestions?
sub EVENT_SAY {
if ($text =~/Hail/i)
{ quest::say("How could YOU defeat ME, $name? I have no choice but to send you to the next battle! Perhaps, you will taste death soon! Which way would you like to die? [Fire], [Water], [Undead], [Air] or [Earth]?"); }
if ($text =~/Fire/i)
{
quest::shout ("$name , go forth and DIE!!");
quest::movepc(-60,565,494);
}
if ($text =~/Water/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-60,852,494);
}
if ($text =~/Undead/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-33,1107,494);
}
if ($text =~/Air/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-54,1344,494);
}
if ($text =~/Earth/i)
{
quest::shout ("$name , go forth and DIE!! ");
quest::emote ("waves his boney finger in a circle...");
quest::movepc(-53,1630,494);
}
}
sub EVENT_SPAWN
{
quest::settimer("depop",3600);
}
sub EVENT_TIMER
{
if ($timer eq "depop")
{
quest::depop();
}
}